Modifica

Condividi tramite


CompilerCollection.Item[] Property

Definition

Gets the specified Compiler collection item.

Overloads

Item[Int32]

Gets the Compiler at the specified index of the collection.

Item[String]

Gets the Compiler collection element for the specified language.

Item[Int32]

Gets the Compiler at the specified index of the collection.

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

Parameters

index
Int32

An integer value specifying a Compiler within the CompilerCollection.

Property Value

A Compiler object.

Remarks

If the compiler object does not exist in the collection, an out-of-range exception is thrown.

Applies to

Item[String]

Gets the Compiler collection element for the specified language.

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

Parameters

language
String

The language for the Compiler object within the collection.

Property Value

A Compiler object.

Remarks

Provides a semicolon-separated list of language names supported by the language provider.

Applies to