NamespaceElementCollection.Item[] Property

Definition

Gets an element from the collection.

Overloads

Item[Int32]

Gets an element from the collection with a specified index.

Item[String]

Gets an element from the collection with a specified key.

Item[Int32]

Gets an element from the collection with a specified index.

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

Parameters

index
Int32

The index of the element to be retrieved from the collection.

Property Value

The namespace element in the collection that has the specified index.

Applies to

Item[String]

Gets an element from the collection with a specified key.

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

Parameters

name
String

The key of the element to be retrieved from the collection.

Property Value

The namespace element in the collection that matches the specified key.

Applies to