ObjectItemCollection.TryGetClrType Method (StructuralType, Type)

 

Returns a CLR type corresponding to the StructuralType supplied by the objectSpaceType parameter.

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

public bool TryGetClrType(
	StructuralType objectSpaceType,
	out Type clrType
)

Parameters

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

A StructuralType that represents the object space type.

clrType
Type: System.Type

The CLR type.

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: