DeclaredTypeElementCollection.Item[] Właściwość

Definicja

Pobiera lub ustawia określony element członkowski kolekcji typów według pozycji lub klucza.

Przeciążenia

Item[Int32]

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

Pobiera lub ustawia element konfiguracji w określonej lokalizacji indeksu.

Item[String]

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

Pobiera lub ustawia element w kolekcji typów według jego klucza.

Item[Int32]

Pobiera lub ustawia element konfiguracji w określonej lokalizacji indeksu.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

index
Int32

Lokalizacja indeksu elementu konfiguracji do zwrócenia.

Wartość właściwości

Element DeclaredTypeElement w określonym indeksie.

Dotyczy

Item[String]

Pobiera lub ustawia element w kolekcji typów według jego klucza.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

typeName
String

Nazwa (która działa jako klucz) typu do pobrania lub ustawienia.

Wartość właściwości

Określony element (używany do pobierania elementu).

Dotyczy