EdmCoreModel.GetSpatial Method (EdmPrimitiveTypeKind, Nullable<Int32>, Boolean)

Gets a reference to a spatial type.

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

Syntax

'Declaration
Public Function GetSpatial ( _
    kind As EdmPrimitiveTypeKind, _
    spatialReferenceIdentifier As Nullable(Of Integer), _
    isNullable As Boolean _
) As IEdmSpatialTypeReference
'Usage
Dim instance As EdmCoreModel 
Dim kind As EdmPrimitiveTypeKind 
Dim spatialReferenceIdentifier As Nullable(Of Integer)
Dim isNullable As Boolean 
Dim returnValue As IEdmSpatialTypeReference 

returnValue = instance.GetSpatial(kind, _
    spatialReferenceIdentifier, isNullable)
public IEdmSpatialTypeReference GetSpatial(
    EdmPrimitiveTypeKind kind,
    Nullable<int> spatialReferenceIdentifier,
    bool isNullable
)
public:
IEdmSpatialTypeReference^ GetSpatial(
    EdmPrimitiveTypeKind kind, 
    Nullable<int> spatialReferenceIdentifier, 
    bool isNullable
)
member GetSpatial : 
        kind:EdmPrimitiveTypeKind * 
        spatialReferenceIdentifier:Nullable<int> * 
        isNullable:bool -> IEdmSpatialTypeReference
public function GetSpatial(
    kind : EdmPrimitiveTypeKind, 
    spatialReferenceIdentifier : Nullable<int>, 
    isNullable : boolean
) : IEdmSpatialTypeReference

Parameters

  • isNullable
    Type: System.Boolean
    true to indicate that the referenced type should be nullable; otherwise, false.

Return Value

Type: Microsoft.Data.Edm.IEdmSpatialTypeReference
A spatial type reference.

See Also

Reference

EdmCoreModel Class

GetSpatial Overload

Microsoft.Data.Edm.Library Namespace