ConnectionManagementElementCollection.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.
Gets or sets the element with the specified index or key.
Overloads
Item[Int32] |
Gets or sets the element at the specified position in the collection. |
Item[String] |
Gets or sets the element with the specified key. |
Item[Int32]
Gets or sets the element at the specified position in the collection.
public:
property System::Net::Configuration::ConnectionManagementElement ^ default[int] { System::Net::Configuration::ConnectionManagementElement ^ get(int index); void set(int index, System::Net::Configuration::ConnectionManagementElement ^ value); };
public System.Net.Configuration.ConnectionManagementElement this[int index] { get; set; }
member this.Item(int) : System.Net.Configuration.ConnectionManagementElement with get, set
Default Public Property Item(index As Integer) As ConnectionManagementElement
Parameters
- index
- Int32
The zero-based index of the element.
Property Value
The ConnectionManagementElement at the specified location.
See also
Applies to
Item[String]
Gets or sets the element with the specified key.
public:
property System::Net::Configuration::ConnectionManagementElement ^ default[System::String ^] { System::Net::Configuration::ConnectionManagementElement ^ get(System::String ^ name); void set(System::String ^ name, System::Net::Configuration::ConnectionManagementElement ^ value); };
public System.Net.Configuration.ConnectionManagementElement this[string name] { get; set; }
member this.Item(string) : System.Net.Configuration.ConnectionManagementElement with get, set
Default Public Property Item(name As String) As ConnectionManagementElement
Parameters
- name
- String
The key for an element in the collection.
Property Value
The ConnectionManagementElement with the specified key or null
if there is no element with the specified key.