CompilerCollection.Item[] 屬性

定義

獲得指定的 Compiler 收藏品。

多載

名稱 Description
Item[Int32]

在集合指定的索引處取得 。Compiler

Item[String]

取得 Compiler 指定語言的集合元素。

Item[Int32]

在集合指定的索引處取得 。Compiler

public:
 property System::Web::Configuration::Compiler ^ default[int] { System::Web::Configuration::Compiler ^ get(int index); };
public System.Web.Configuration.Compiler this[int index] { get; }
member this.Item(int) : System.Web.Configuration.Compiler
Default Public ReadOnly Property Item(index As Integer) As Compiler

參數

index
Int32

一個整數值,在 中指定 。CompilerCompilerCollection

屬性值

Compiler 物件。

備註

若編譯器物件不存在於集合中,則會拋出超出範圍的例外。

適用於

Item[String]

取得 Compiler 指定語言的集合元素。

public:
 property System::Web::Configuration::Compiler ^ default[System::String ^] { System::Web::Configuration::Compiler ^ get(System::String ^ language); };
public System.Web.Configuration.Compiler this[string language] { get; }
member this.Item(string) : System.Web.Configuration.Compiler
Default Public ReadOnly Property Item(language As String) As Compiler

參數

language
String

集合中物件的 Compiler 語言。

屬性值

Compiler 物件。

備註

提供語言提供者支援的分號分隔語言名稱清單。

適用於