ItemCollection.GetItems<T> Method ()

 

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

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.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

T

The type returned by the method.