ObjectItemCollection.GetItems<T> Method

Definition

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

C#
public override System.Collections.ObjectModel.ReadOnlyCollection<T> GetItems<T>() where T : System.Data.Metadata.Edm.GlobalItem;

Type Parameters

T

The type returned by the method.

Returns

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

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1