Bewerken

Delen via


MetadataExtensionMethods.GetPrimitiveTypes(EdmItemCollection, Version) Method

Definition

Gets the list of primitive types for the given version of Edm.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Metadata::Edm::PrimitiveType ^> ^ GetPrimitiveTypes(System::Data::Metadata::Edm::EdmItemCollection ^ itemCollection, Version ^ edmVersion);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType> GetPrimitiveTypes (this System.Data.Metadata.Edm.EdmItemCollection itemCollection, Version edmVersion);
static member GetPrimitiveTypes : System.Data.Metadata.Edm.EdmItemCollection * Version -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Metadata.Edm.PrimitiveType>
<Extension()>
Public Function GetPrimitiveTypes (itemCollection As EdmItemCollection, edmVersion As Version) As ReadOnlyCollection(Of PrimitiveType)

Parameters

itemCollection
EdmItemCollection

The item collection from which to retrieve the list of primitive types.

edmVersion
Version

The version of edm to use.

Returns

A collection of primitive types.

Applies to