MetadataWorkspace.TryGetEdmSpaceType Method (EnumType, EnumType)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool TryGetEdmSpaceType(
	EnumType objectSpaceType,
	out EnumType edmSpaceType
)

Parameters

objectSpaceType
Type: System.Data.Metadata.Edm.EnumType

A EnumType object that represents the object space type.

edmSpaceType
Type: System.Data.Metadata.Edm.EnumType

When this method returns, contains a EnumType object that represents the EdmType. This parameter is passed uninitialized.

Return Value

Type: System.Boolean

true on success, false on failure.

.NET Framework
Available since 4.5
Return to top
Show: