EdmTypeSemantics.AsSpatial(IEdmTypeReference) Method

Definition

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.

C#
public static Microsoft.OData.Edm.IEdmSpatialTypeReference AsSpatial (this Microsoft.OData.Edm.IEdmTypeReference type);

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.

Applies to

Product Versions
OData EDM 7.0