Szerkesztés

Megosztás a következőn keresztül:


FilterElementCollection.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::FilterElement ^ default[int] { System::ServiceModel::Routing::Configuration::FilterElement ^ get(int index); void set(int index, System::ServiceModel::Routing::Configuration::FilterElement ^ value); };
public System.ServiceModel.Routing.Configuration.FilterElement this[int index] { get; set; }
member this.Item(int) : System.ServiceModel.Routing.Configuration.FilterElement with get, set
Default Public Property Item(index As Integer) As FilterElement

Parameters

index
Int32

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

Property Value

The 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::FilterElement ^ default[System::String ^] { System::ServiceModel::Routing::Configuration::FilterElement ^ get(System::String ^ name); };
public System.ServiceModel.Routing.Configuration.FilterElement this[string name] { get; }
member this.Item(string) : System.ServiceModel.Routing.Configuration.FilterElement
Default Public ReadOnly Property Item(name As String) As FilterElement

Parameters

name
String

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

Property Value

The element in the collection that matches the specified key.

Applies to