Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft