Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetItems(T) Method

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

Type Parameters

T

The type returned by the method.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<T>
A collection of type ReadOnlyCollection<T> that contains all the items of the specified type.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft