Compartir a través de


EdmCoreModel.GetSpatial Método (EdmPrimitiveTypeKind, Nullable<Int32>, Boolean)

Obtiene una referencia a un tipo espacial.

Espacio de nombres:  Microsoft.Data.Edm.Library
Ensamblado:  Microsoft.Data.Edm (en Microsoft.Data.Edm.dll)

Sintaxis

'Declaración
Public Function GetSpatial ( _
    kind As EdmPrimitiveTypeKind, _
    spatialReferenceIdentifier As Nullable(Of Integer), _
    isNullable As Boolean _
) As IEdmSpatialTypeReference
'Uso
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

Parámetros

  • spatialReferenceIdentifier
    Tipo: System.Nullable<Int32>
    Identificador de referencia de un tipo espacial.
  • isNullable
    Tipo: System.Boolean
    Es true para indicar que el tipo al que se hace referencia debe admitir valores NULL; de lo contrario, es false.

Valor devuelto

Tipo: Microsoft.Data.Edm.IEdmSpatialTypeReference
Referencia a un tipo espacial.

Vea también

Referencia

EdmCoreModel Clase

Sobrecarga de GetSpatial

Espacio de nombres Microsoft.Data.Edm.Library