EdmTypeSemantics.AsPath(IEdmTypeReference) Method

Definition

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.

C#
public static Microsoft.OData.Edm.IEdmPathTypeReference AsPath (this Microsoft.OData.Edm.IEdmTypeReference type);

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.

Applies to

Product Versions
OData EDM 7.0