Jaa


EdmTypeSemantics.AsTypeDefinition(IEdmTypeReference) Method

Definition

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

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

Parameters

type
IEdmTypeReference

Reference to the calling object.

Returns

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

Applies to