CompilerCollection.Get 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定的 Compiler 集合元素。
重载
| 名称 | 说明 |
|---|---|
| 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
一个 Compiler 指定内 CompilerCollection值的整数值。
返回
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 对象。