ConfigurationElementSchemaCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从集合中获取指定的配置元素架构。
重载
Item[Int32] |
获取指定索引处的指定配置元素架构。 |
Item[String] |
获取具有指定名称的指定配置元素架构。 |
Item[Int32]
获取指定索引处的指定配置元素架构。
public:
property Microsoft::Web::Administration::ConfigurationElementSchema ^ default[int] { Microsoft::Web::Administration::ConfigurationElementSchema ^ get(int index); };
public Microsoft.Web.Administration.ConfigurationElementSchema this[int index] { get; }
member this.Item(int) : Microsoft.Web.Administration.ConfigurationElementSchema
Default Public ReadOnly Property Item(index As Integer) As ConfigurationElementSchema
参数
- index
- Int32
要返回的 ConfigurationElementSchema 对象的索引。
属性值
指定 ConfigurationElementSchema 索引处的对象.
注解
可以使用 属性的 Item[] 重载返回集合中的特定 ConfigurationElementSchema 对象。 此重载按集合索引返回集合中的特定架构。
适用于
Item[String]
获取具有指定名称的指定配置元素架构。
public:
property Microsoft::Web::Administration::ConfigurationElementSchema ^ default[System::String ^] { Microsoft::Web::Administration::ConfigurationElementSchema ^ get(System::String ^ name); };
public Microsoft.Web.Administration.ConfigurationElementSchema this[string name] { get; }
member this.Item(string) : Microsoft.Web.Administration.ConfigurationElementSchema
Default Public ReadOnly Property Item(name As String) As ConfigurationElementSchema
参数
- name
- String
要返回的 ConfigurationElementSchema 对象名称。
属性值
ConfigurationElementSchema具有指定名称的对象。
注解
可以使用 属性的 Item[] 重载返回集合中的特定 ConfigurationElementSchema 对象。 此重载按名称返回集合中的特定架构。 特定模块执行字符串比较,忽略所比较字符串的事例。