Redigera

Dela via


MetadataWorkspace.GetObjectSpaceType Method

Definition

Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

Overloads

GetObjectSpaceType(EnumType)

Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

GetObjectSpaceType(StructuralType)

Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

GetObjectSpaceType(EnumType)

Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

public:
 System::Data::Metadata::Edm::EnumType ^ GetObjectSpaceType(System::Data::Metadata::Edm::EnumType ^ edmSpaceType);
public System.Data.Metadata.Edm.EnumType GetObjectSpaceType (System.Data.Metadata.Edm.EnumType edmSpaceType);
member this.GetObjectSpaceType : System.Data.Metadata.Edm.EnumType -> System.Data.Metadata.Edm.EnumType
Public Function GetObjectSpaceType (edmSpaceType As EnumType) As EnumType

Parameters

edmSpaceType
EnumType

A EnumType object that represents the EdmType.

Returns

A StructuralType object that represents the Object space type. If there is no matched type, this method returns null.

Applies to

GetObjectSpaceType(StructuralType)

Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

public:
 System::Data::Metadata::Edm::StructuralType ^ GetObjectSpaceType(System::Data::Metadata::Edm::StructuralType ^ edmSpaceType);
public System.Data.Metadata.Edm.StructuralType GetObjectSpaceType (System.Data.Metadata.Edm.StructuralType edmSpaceType);
member this.GetObjectSpaceType : System.Data.Metadata.Edm.StructuralType -> System.Data.Metadata.Edm.StructuralType
Public Function GetObjectSpaceType (edmSpaceType As StructuralType) As StructuralType

Parameters

edmSpaceType
StructuralType

A StructuralType object that represents the EdmType.

Returns

A StructuralType object that represents the Object space type. If there is no matched type, this method returns null.

Applies to