MetadataExtensionMethods.GetPrimitiveTypes(EdmItemCollection, Version) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา