MetadataWorkspace.TryGetEdmSpaceType 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 or EnumType object via the out parameter edmSpaceType
that represents the EdmType that matches the type supplied by the parameter objectSpaceType
.
Overloads
TryGetEdmSpaceType(StructuralType, StructuralType) |
Returns a StructuralType object via the out parameter |
TryGetEdmSpaceType(EnumType, EnumType) |
Returns a EnumType object via the out parameter |
TryGetEdmSpaceType(StructuralType, StructuralType)
Returns a StructuralType object via the out parameter edmSpaceType
that represents the EdmType that matches the type supplied by the parameter objectSpaceType
.
public:
bool TryGetEdmSpaceType(System::Data::Metadata::Edm::StructuralType ^ objectSpaceType, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::StructuralType ^ % edmSpaceType);
public bool TryGetEdmSpaceType (System.Data.Metadata.Edm.StructuralType objectSpaceType, out System.Data.Metadata.Edm.StructuralType edmSpaceType);
member this.TryGetEdmSpaceType : System.Data.Metadata.Edm.StructuralType * StructuralType -> bool
Public Function TryGetEdmSpaceType (objectSpaceType As StructuralType, ByRef edmSpaceType As StructuralType) As Boolean
Parameters
- objectSpaceType
- StructuralType
A StructuralType object that represents the object space type.
- edmSpaceType
- StructuralType
When this method returns, contains a StructuralType object that represents the EdmType. This parameter is passed uninitialized.
Returns
true
if there is a type that matches the search criteria; otherwise, false
.
Applies to
TryGetEdmSpaceType(EnumType, EnumType)
public:
bool TryGetEdmSpaceType(System::Data::Metadata::Edm::EnumType ^ objectSpaceType, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::EnumType ^ % edmSpaceType);
public bool TryGetEdmSpaceType (System.Data.Metadata.Edm.EnumType objectSpaceType, out System.Data.Metadata.Edm.EnumType edmSpaceType);
member this.TryGetEdmSpaceType : System.Data.Metadata.Edm.EnumType * EnumType -> bool
Public Function TryGetEdmSpaceType (objectSpaceType As EnumType, ByRef edmSpaceType As EnumType) As Boolean
Parameters
- edmSpaceType
- EnumType
When this method returns, contains a EnumType object that represents the EdmType. This parameter is passed uninitialized.
Returns
true
on success, false
on failure.