MetadataWorkspace.GetObjectSpaceType 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.
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  | 
| GetObjectSpaceType(StructuralType) | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter  | 
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.EnumTypePublic Function GetObjectSpaceType (edmSpaceType As EnumType) As EnumTypeParameters
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.StructuralTypePublic Function GetObjectSpaceType (edmSpaceType As StructuralType) As StructuralTypeParameters
- 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.