Share via


EdmTypeSemantics.IsSpatial Method (IEdmType)

Determines whether this definition refers to a spatial type.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsSpatial ( _
    type As IEdmType _
) As Boolean
'Usage
Dim type As IEdmType 
Dim returnValue As Boolean 

returnValue = type.IsSpatial()
public static bool IsSpatial(
    this IEdmType type
)
[ExtensionAttribute]
public:
static bool IsSpatial(
    IEdmType^ type
)
static member IsSpatial : 
        type:IEdmType -> bool
public static function IsSpatial(
    type : IEdmType
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this definition refers to a spatial type; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmType. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

EdmTypeSemantics Class

IsSpatial Overload

Microsoft.Data.Edm Namespace