语言

SchemeSettingElementCollection.Item[] 属性

定义

访问类的 SchemeSettingElementCollection 实例。

重载

名称 说明
Item[Int32]

获取集合中指定索引处的 SchemeSettingElementCollection 项。

Item[String]

从集合中 SchemeSettingElementCollection 获取项。

Item[Int32]

Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs

获取集合中指定索引处的 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。

例外

参数 index 小于零。

-或-

参数指定的项已被 null 移除或已被删除。

注解

使用Item[]属性获取或设置此类SchemeSettingElement中包含的指定SchemeSettingElementCollection对象。

另请参阅

适用于

Item[String]

Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs
Source:
SchemeSettingElementCollection.cs

从集合中 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 找不到或已删除该项。

另请参阅

适用于