ItemCollection.GetItems<T> Methode

Definition

Gibt alle Elemente des angegebenen Typs zurück, die zu dieser Elementauflistung gehören.

public:
generic <typename T>
 where T : System::Data::Metadata::Edm::GlobalItem System::Collections::ObjectModel::ReadOnlyCollection<T> ^ GetItems();
public:
generic <typename T>
 where T : System::Data::Metadata::Edm::GlobalItem virtual System::Collections::ObjectModel::ReadOnlyCollection<T> ^ GetItems();
public System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T> () where T : System.Data.Metadata.Edm.GlobalItem;
public virtual System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T> () where T : System.Data.Metadata.Edm.GlobalItem;
member this.GetItems : unit -> System.Collections.ObjectModel.ReadOnlyCollection<'T (requires 'T :> System.Data.Metadata.Edm.GlobalItem)> (requires 'T :> System.Data.Metadata.Edm.GlobalItem)
abstract member GetItems : unit -> System.Collections.ObjectModel.ReadOnlyCollection<'T (requires 'T :> System.Data.Metadata.Edm.GlobalItem)> (requires 'T :> System.Data.Metadata.Edm.GlobalItem)
override this.GetItems : unit -> System.Collections.ObjectModel.ReadOnlyCollection<'T (requires 'T :> System.Data.Metadata.Edm.GlobalItem)> (requires 'T :> System.Data.Metadata.Edm.GlobalItem)
Public Function GetItems(Of T As GlobalItem) () As ReadOnlyCollection(Of T)
Public Overridable Function GetItems(Of T As GlobalItem) () As ReadOnlyCollection(Of T)

Typparameter

T

Der von der Methode zurückgegebene Typ.

Gibt zurück

Eine Sammlung vom Typ ReadOnlyCollection<T>, in der alle Elemente des angegebenen Typs enthalten sind.

Gilt für: