SqlSpatialFunctions.InstanceOf メソッド

定義

SqlGeography インスタンスが指定した型と同じかどうかをテストします。

オーバーロード

名前 説明
InstanceOf(DbGeometry, String)

SqlGeometry インスタンスが指定した型と同じかどうかをテストします。

InstanceOf(DbGeography, String)

SqlGeography インスタンスが指定した型と同じかどうかをテストします。

InstanceOf(DbGeometry, String)

SqlGeometry インスタンスが指定した型と同じかどうかをテストします。

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)

パラメーター

geometryValue
DbGeometry

geometry 値。

geometryTypeName
String

geography 型階層で公開されている 12 種類のいずれかを指定する文字列。

返品

geography 型階層で公開されている 12 種類のいずれかを指定する文字列。

属性

適用対象

InstanceOf(DbGeography, String)

SqlGeography インスタンスが指定した型と同じかどうかをテストします。

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)

パラメーター

geographyValue
DbGeography

geography 値。

geometryTypeName
String

geography 型階層で公開されている 12 種類のいずれかを指定する文字列。

返品

geography 型階層で公開されている 12 種類のいずれかを指定する文字列。

属性

適用対象