DeclaredTypeElementCollection.Item[] プロパティ

定義

位置またはキーを使用して、型のコレクションの特定のメンバーを取得または設定します。

オーバーロード

Item[Int32]

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

指定したインデックス位置にある構成要素を取得または設定します。

Item[String]

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

キーを使用して、型のコレクション内の要素を取得または設定します。

Item[Int32]

指定したインデックス位置にある構成要素を取得または設定します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

index
Int32

返す構成要素のインデックス位置です。

プロパティ値

指定したインデックスにある DeclaredTypeElement です。

適用対象

Item[String]

キーを使用して、型のコレクション内の要素を取得または設定します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 property System::Runtime::Serialization::Configuration::DeclaredTypeElement ^ default[System::String ^] { System::Runtime::Serialization::Configuration::DeclaredTypeElement ^ get(System::String ^ typeName); void set(System::String ^ typeName, System::Runtime::Serialization::Configuration::DeclaredTypeElement ^ value); };
public System.Runtime.Serialization.Configuration.DeclaredTypeElement this[string typeName] { get; set; }
member this.Item(string) : System.Runtime.Serialization.Configuration.DeclaredTypeElement with get, set
Default Public Property Item(typeName As String) As DeclaredTypeElement

パラメーター

typeName
String

取得または設定する型の名前 (キーとして機能します)。

プロパティ値

指定した要素 (要素の取得に使用した場合)。

適用対象