ItemCollection::GetItems<T> Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

generic<typename T>
where T : GlobalItem
virtual ReadOnlyCollection<T>^ GetItems()

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