ConfigurationMethodCollection.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 a single configuration method from the collection.
Overloads
Item[Int32] |
Gets the configuration method at the specified index in the current collection. |
Item[String] |
Gets the configuration method with the specified name from the collection. |
Item[Int32]
Gets the configuration method at the specified index in the current collection.
public:
property Microsoft::Web::Administration::ConfigurationMethod ^ default[int] { Microsoft::Web::Administration::ConfigurationMethod ^ get(int index); };
public Microsoft.Web.Administration.ConfigurationMethod this[int index] { get; }
member this.Item(int) : Microsoft.Web.Administration.ConfigurationMethod
Default Public ReadOnly Property Item(index As Integer) As ConfigurationMethod
Parameters
- index
- Int32
The index of the ConfigurationMethod object to get from the current collection.
Property Value
The ConfigurationMethod object at the specified index in the current collection.
Applies to
Item[String]
Gets the configuration method with the specified name from the collection.
public:
property Microsoft::Web::Administration::ConfigurationMethod ^ default[System::String ^] { Microsoft::Web::Administration::ConfigurationMethod ^ get(System::String ^ methodName); };
public Microsoft.Web.Administration.ConfigurationMethod this[string methodName] { get; }
member this.Item(string) : Microsoft.Web.Administration.ConfigurationMethod
Default Public ReadOnly Property Item(methodName As String) As ConfigurationMethod
Parameters
- methodName
- String
The name of the ConfigurationMethod to get from the current collection.
Property Value
The ConfigurationMethod object that has the specified name in the current collection.