SqlGeometry インスタンスの最大次元数を返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STDimension As SqlInt32
'使用
Dim instance As SqlGeometry
Dim returnValue As SqlInt32
returnValue = instance.STDimension()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STDimension()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STDimension()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STDimension : unit -> SqlInt32
public function STDimension() : SqlInt32
戻り値
型: System.Data.SqlTypes.SqlInt32
SqlGeometry の最大次元数を表す SqlInt32 値です。
説明
SqlGeometry インスタンスが空の場合、-1 を返します。