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