CompilerCollection.Get 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定的 Compiler 集合元素。
多載
| 名稱 | Description |
|---|---|
| Get(Int32) |
取得 Compiler 指定索引的集合元素。 |
| Get(String) |
取得 Compiler 指定語言的集合元素。 |
Get(Int32)
取得 Compiler 指定索引的集合元素。
public:
System::Web::Configuration::Compiler ^ Get(int index);
public System.Web.Configuration.Compiler Get(int index);
member this.Get : int -> System.Web.Configuration.Compiler
Public Function Get (index As Integer) As Compiler
參數
- index
- Int32
一個整數值,在 中指定 。CompilerCompilerCollection
傳回
Compiler 物件。
適用於
Get(String)
取得 Compiler 指定語言的集合元素。
public:
System::Web::Configuration::Compiler ^ Get(System::String ^ language);
public System.Web.Configuration.Compiler Get(string language);
member this.Get : string -> System.Web.Configuration.Compiler
Public Function Get (language As String) As Compiler
參數
傳回
Compiler 物件。