EdmTypeSemantics.AsPath(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 path type, this will return a valid path type reference to the type definition. Otherwise, it will return a bad path type reference.
public static Microsoft.OData.Edm.IEdmPathTypeReference AsPath (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsPath : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmPathTypeReference
<Extension()>
Public Function AsPath (type As IEdmTypeReference) As IEdmPathTypeReference
Parameters
- type
- IEdmTypeReference
Reference to the calling object.
Returns
A valid path type reference if the definition of the reference is of a path type. Otherwise a bad path type reference.