Share via


EdmTypeSemantics.AsComplex(IEdmTypeReference) Method

Definition

If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference.

public static Microsoft.OData.Edm.IEdmComplexTypeReference AsComplex (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsComplex : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmComplexTypeReference
<Extension()>
Public Function AsComplex (type As IEdmTypeReference) As IEdmComplexTypeReference

Parameters

type
IEdmTypeReference

Reference to the calling object.

Returns

A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference.

Applies to