ProviderSettingsCollection.Item[Int32] Property

Definition

Accesses an instance of the ProviderSettingsCollection class.

Overloads

Item[String]

Gets an item from the collection.

Item[Int32]

Gets or sets a value at the specified index in the ProviderSettingsCollection collection.

Remarks

Use this method to access a specified ProviderSettings object contained within this ProviderSettingsCollection class.

Item[String]

Gets an item from the collection.

public:
 property System::Configuration::ProviderSettings ^ default[System::String ^] { System::Configuration::ProviderSettings ^ get(System::String ^ key); };
public System.Configuration.ProviderSettings this[string key] { get; }
member this.Item(string) : System.Configuration.ProviderSettings
Default Public ReadOnly Property Item(key As String) As ProviderSettings

Parameters

key
String

A string reference to the ProviderSettings object within the collection.

Property Value

A ProviderSettings object contained in the collection.

Item[Int32]

Gets or sets a value at the specified index in the ProviderSettingsCollection collection.

public:
 property System::Configuration::ProviderSettings ^ default[int] { System::Configuration::ProviderSettings ^ get(int n); void set(int n, System::Configuration::ProviderSettings ^ value); };
public System.Configuration.ProviderSettings this[int n] { get; set; }
member this.Item(int) : System.Configuration.ProviderSettings with get, set
Default Public Property Item(n As Integer) As ProviderSettings

Parameters

index
Int32

The index of the ProviderSettings to return.

Property Value

Remarks

Use the Item[Int32] property to get or set a specified ProviderSettings object contained within this ProviderSettingsCollection class.

Applies to