CompilerCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定的 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
参数
属性值
Compiler 对象。
注解
提供语言提供程序支持的语言名称的分号分隔列表。