Share via


EdmTypeSemantics.AsStructured(IEdmTypeReference) Method

Definition

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

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

Parameters

type
IEdmTypeReference

Reference to the calling object.

Returns

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

Applies to