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

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

プロパティ値

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

適用対象