SchemeSettingElementCollection.Item[] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
访问类的 SchemeSettingElementCollection 实例。
重载
| 名称 | 说明 |
|---|---|
| Item[Int32] |
获取集合中指定索引处的 SchemeSettingElementCollection 项。 |
| Item[String] |
从集合中 SchemeSettingElementCollection 获取项。 |
Item[Int32]
获取集合中指定索引处的 SchemeSettingElementCollection 项。
public:
property System::Configuration::SchemeSettingElement ^ default[int] { System::Configuration::SchemeSettingElement ^ get(int index); };
public System.Configuration.SchemeSettingElement this[int index] { get; }
member this.Item(int) : System.Configuration.SchemeSettingElement
Default Public ReadOnly Property Item(index As Integer) As SchemeSettingElement
参数
- index
- Int32
要返回的 SchemeSettingElement 索引。
属性值
指定的 SchemeSettingElement。
例外
注解
使用Item[]属性获取或设置此类SchemeSettingElement中包含的指定SchemeSettingElementCollection对象。
另请参阅
适用于
Item[String]
从集合中 SchemeSettingElementCollection 获取项。
public:
property System::Configuration::SchemeSettingElement ^ default[System::String ^] { System::Configuration::SchemeSettingElement ^ get(System::String ^ name); };
public System.Configuration.SchemeSettingElement this[string name] { get; }
member this.Item(string) : System.Configuration.SchemeSettingElement
Default Public ReadOnly Property Item(name As String) As SchemeSettingElement
参数
- name
- String
对 SchemeSettingElement 集合中对象的字符串引用。
属性值
SchemeSettingElement集合中包含的对象。
注解
返回值是 null 找不到或已删除该项。