ItemCollection.GetItems<T> Method ()


Returns all the items of the specified type from this item collection.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public virtual ReadOnlyCollection<T> GetItems<T>()
where T : GlobalItem

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<T>

A collection of type ReadOnlyCollection<T> that contains all the items of the specified type.

Type Parameters


The type returned by the method.

.NET Framework
Available since 3.5
Return to top