SqlSpatialFunctions.InstanceOf メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
ジオメトリ値。
- 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
地理的な値。
- geometryTypeName
- String
geography 型の階層で公開される 12 の型のいずれかを指定する文字列。
戻り値
geography 型の階層で公開される 12 の型のいずれかを指定する文字列。
- 属性
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET