SchemeSettingElementCollection.Item[] Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accesses an instance of the SchemeSettingElementCollection class.
Item[Int32] |
Gets an item at the specified index in the SchemeSettingElementCollection collection. |
Item[String] |
Gets an item from the SchemeSettingElementCollection collection. |
Gets an item at the specified index in the SchemeSettingElementCollection collection.
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
Parameters
- index
- Int32
The index of the SchemeSettingElement to return.
Property Value
The specified SchemeSettingElement.
Exceptions
The index
parameter is less than zero.
-or-
The item specified by the parameter is null
or has been removed.
Remarks
Use the Item[] property to get or set a specified SchemeSettingElement object contained within this SchemeSettingElementCollection class.
See also
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Gets an item from the SchemeSettingElementCollection collection.
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
Parameters
- name
- String
A string reference to the SchemeSettingElement object within the collection.
Property Value
A SchemeSettingElement object contained in the collection.
Remarks
The return value is null
if the item cannot be found or has been removed.
See also
Applies to
.NET 9 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: