EdmTypeSemantics.AsTypeDefinition(IEdmTypeReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.