Επεξεργασία

Κοινή χρήση μέσω


SchemeSettingElementCollection.Item[] Property

Definition

Accesses an instance of the SchemeSettingElementCollection class.

Overloads

Item[Int32]

Gets an item at the specified index in the SchemeSettingElementCollection collection.

Item[String]

Gets an item from the SchemeSettingElementCollection collection.

Item[Int32]

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

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

Item[String]

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

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