MetadataWorkspace.GetObjectSpaceType 方法

定义

返回一个 StructuralType 对象,该对象表示与参数 edmSpaceType 提供的类型匹配的对象空间类型。Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

重载

GetObjectSpaceType(EnumType)

返回一个 StructuralType 对象,该对象表示与参数 edmSpaceType 提供的类型匹配的对象空间类型。Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

GetObjectSpaceType(StructuralType)

返回一个 StructuralType 对象,该对象表示与参数 edmSpaceType 提供的类型匹配的对象空间类型。Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType.

GetObjectSpaceType(EnumType)

返回一个 StructuralType 对象,该对象表示与参数 edmSpaceType 提供的类型匹配的对象空间类型。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

参数

edmSpaceType
EnumType

一个表示 EnumTypeEdmType 对象。A EnumType object that represents the EdmType.

返回

EnumType

一个表示对象空间类型的 StructuralType 对象。A StructuralType object that represents the Object space type. 如果不存在匹配的类型,此方法将返回 null。If there is no matched type, this method returns null.

适用于

GetObjectSpaceType(StructuralType)

返回一个 StructuralType 对象,该对象表示与参数 edmSpaceType 提供的类型匹配的对象空间类型。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

参数

edmSpaceType
StructuralType

一个表示 StructuralTypeEdmType 对象。A StructuralType object that represents the EdmType.

返回

StructuralType

一个表示对象空间类型的 StructuralType 对象。A StructuralType object that represents the Object space type. 如果不存在匹配的类型,此方法将返回 null。If there is no matched type, this method returns null.

适用于