SqlSpatialFunctions.InstanceOf Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Verifica se l'istanza di SqlGeography è uguale al tipo specificato.
Overload
| Nome | Descrizione |
|---|---|
| InstanceOf(DbGeometry, String) |
Verifica se l'istanza di SqlGeometry è uguale al tipo specificato. |
| InstanceOf(DbGeography, String) |
Verifica se l'istanza di SqlGeography è uguale al tipo specificato. |
InstanceOf(DbGeometry, String)
Verifica se l'istanza di SqlGeometry è uguale al tipo specificato.
public:
static Nullable<bool> InstanceOf(System::Data::Spatial::DbGeometry ^ geometryValue, System::String ^ geometryTypeName);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "INSTANCEOF")]
public static bool? InstanceOf(System.Data.Spatial.DbGeometry geometryValue, string geometryTypeName);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "INSTANCEOF")>]
static member InstanceOf : System.Data.Spatial.DbGeometry * string -> Nullable<bool>
Public Shared Function InstanceOf (geometryValue As DbGeometry, geometryTypeName As String) As Nullable(Of Boolean)
Parametri
- geometryValue
- DbGeometry
Valore geometry.
- geometryTypeName
- String
Stringa che specifica uno dei 12 tipi esposti nella gerarchia dei tipi geography.
Valori restituiti
Stringa che specifica uno dei 12 tipi esposti nella gerarchia dei tipi geography.
- Attributi
Si applica a
InstanceOf(DbGeography, String)
Verifica se l'istanza di SqlGeography è uguale al tipo specificato.
public:
static Nullable<bool> InstanceOf(System::Data::Spatial::DbGeography ^ geographyValue, System::String ^ geometryTypeName);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "INSTANCEOF")]
public static bool? InstanceOf(System.Data.Spatial.DbGeography geographyValue, string geometryTypeName);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "INSTANCEOF")>]
static member InstanceOf : System.Data.Spatial.DbGeography * string -> Nullable<bool>
Public Shared Function InstanceOf (geographyValue As DbGeography, geometryTypeName As String) As Nullable(Of Boolean)
Parametri
- geographyValue
- DbGeography
Valore geography.
- geometryTypeName
- String
Stringa che specifica uno dei 12 tipi esposti nella gerarchia dei tipi geography.
Valori restituiti
Stringa che specifica uno dei 12 tipi esposti nella gerarchia dei tipi geography.
- Attributi