MetadataWorkspace::TryGetObjectSpaceType Method (StructuralType^, StructuralType^%)

 

Returns a StructuralType object via the out parameter objectSpaceType that represents the type that matches the EdmType supplied by the parameter edmSpaceType.

Namespace:   System.Data.Metadata.Edm
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::Boolean

true if there is a type that matches the search criteria; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: