Share via


NamespaceElementCollection.Item[] プロパティ

定義

コレクションから要素を取得します。

オーバーロード

Item[Int32]

指定したインデックスの要素をコレクションから取得します。

Item[String]

指定したキーの要素をコレクションから取得します。

Item[Int32]

指定したインデックスの要素をコレクションから取得します。

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

パラメーター

index
Int32

コレクションから取得する要素のインデックス番号。

プロパティ値

コレクション内の指定したインデックス位置にある名前空間要素。

適用対象

Item[String]

指定したキーの要素をコレクションから取得します。

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

パラメーター

name
String

コレクションから取得する要素のキー。

プロパティ値

コレクション内の指定したキーに一致する名前空間要素。

適用対象