MetadataWorkspace::TryGetObjectSpaceType Method (StructuralType^, StructuralType^%)
.NET Framework (current version)
Returns a StructuralType object via the out parameter objectSpaceType that represents the type that matches the EdmType supplied by the parameter edmSpaceType.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: bool TryGetObjectSpaceType( StructuralType^ edmSpaceType, [OutAttribute] StructuralType^% objectSpaceType )
Parameters
- edmSpaceType
-
Type:
System.Data.Metadata.Edm::StructuralType^
A StructuralType object that represents the EdmType.
- objectSpaceType
-
Type:
System.Data.Metadata.Edm::StructuralType^%
When this method returns, contains a StructuralType object that represents the Object space type. This parameter is passed uninitialized.
Return Value
Type: System::Booleantrue if there is a type that matches the search criteria; otherwise, false.
.NET Framework
Available since 3.5
Available since 3.5
Show: