แก้ไข

แชร์ผ่าน


ObjectItemCollection.GetClrType Method

Definition

Returns the underlying CLR type for the specified OSpace type argument.

Overloads

GetClrType(EnumType)

The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown.

GetClrType(StructuralType)

Returns the CLR type that corresponds to the StructuralType supplied by the objectSpaceType parameter.

GetClrType(EnumType)

The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown.

public:
 Type ^ GetClrType(System::Data::Metadata::Edm::EnumType ^ objectSpaceType);
public Type GetClrType (System.Data.Metadata.Edm.EnumType objectSpaceType);
member this.GetClrType : System.Data.Metadata.Edm.EnumType -> Type
Public Function GetClrType (objectSpaceType As EnumType) As Type

Parameters

objectSpaceType
EnumType

The OSpace type to look up.

Returns

The CLR type of the OSpace argument.

Applies to

GetClrType(StructuralType)

Returns the CLR type that corresponds to the StructuralType supplied by the objectSpaceType parameter.

public:
 Type ^ GetClrType(System::Data::Metadata::Edm::StructuralType ^ objectSpaceType);
public Type GetClrType (System.Data.Metadata.Edm.StructuralType objectSpaceType);
member this.GetClrType : System.Data.Metadata.Edm.StructuralType -> Type
Public Function GetClrType (objectSpaceType As StructuralType) As Type

Parameters

objectSpaceType
StructuralType

A StructuralType that represents the object space type.

Returns

The CLR type of the OSpace argument.

Applies to