ProviderSettingsCollection.Item[] Property
Definition
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 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]
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 index); void set(int index, System::Configuration::ProviderSettings ^ value); };
public System.Configuration.ProviderSettings this[int index] { get; set; }
member this.Item(int) : System.Configuration.ProviderSettings with get, set
Default Public Property Item(index As Integer) As ProviderSettings
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
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기