次の方法で共有


SqlGeometry.STSrid プロパティ

インスタンスの SRID (Spatial Reference Identifier) を表す整数を取得します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
Public Property STSrid As SqlInt32 
    Get 
    Set
'使用
Dim instance As SqlGeometry 
Dim value As SqlInt32 

value = instance.STSrid

instance.STSrid = value
public SqlInt32 STSrid { get; set; }
public:
property SqlInt32 STSrid {
    SqlInt32 get ();
    void set (SqlInt32 value);
}
member STSrid : SqlInt32 with get, set
function get STSrid () : SqlInt32 
function set STSrid (value : SqlInt32)

プロパティ値

型: System.Data.SqlTypes.SqlInt32
SqlGeometry インスタンスの SRID を含む SqlInt32 値です。

説明

このプロパティは変更できます。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間