语言

CompilerCollection.Item[] 属性

定义

获取指定的 Compiler 集合项。

重载

名称 说明
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

一个 Compiler 指定内 CompilerCollection值的整数值。

属性值

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 对象。

注解

提供语言提供程序支持的语言名称的分号分隔列表。

适用于