EdmCoreModel.GetSpatial Method (EdmPrimitiveTypeKind, 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, _
isNullable As Boolean _
) As IEdmSpatialTypeReference
'Usage
Dim instance As EdmCoreModel
Dim kind As EdmPrimitiveTypeKind
Dim isNullable As Boolean
Dim returnValue As IEdmSpatialTypeReference
returnValue = instance.GetSpatial(kind, _
isNullable)
public IEdmSpatialTypeReference GetSpatial(
EdmPrimitiveTypeKind kind,
bool isNullable
)
public:
IEdmSpatialTypeReference^ GetSpatial(
EdmPrimitiveTypeKind kind,
bool isNullable
)
member GetSpatial :
kind:EdmPrimitiveTypeKind *
isNullable:bool -> IEdmSpatialTypeReference
public function GetSpatial(
kind : EdmPrimitiveTypeKind,
isNullable : boolean
) : IEdmSpatialTypeReference
Parameters
- kind
Type: Microsoft.Data.Edm.EdmPrimitiveTypeKind
The kind of this type.
- 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.