ProviderSettingsCollection.Item[] Property

Definition

Accesses an instance of the ProviderSettingsCollection class.

Overloads

Item[Int32]

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

Item[String]

Gets an item from the collection.

Remarks

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

Item[Int32]

Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs

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

C#
public System.Configuration.ProviderSettings this[int index] { get; set; }

Parameters

index
Int32

The index of the ProviderSettings to return.

Property Value

The specified ProviderSettings.

Remarks

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

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Item[String]

Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs
Source:
ProviderSettingsCollection.cs

Gets an item from the collection.

C#
public System.Configuration.ProviderSettings this[string key] { get; }

Parameters

key
String

A string reference to the ProviderSettings object within the collection.

Property Value

A ProviderSettings object contained in the collection.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10