geography 型のバイナリ表現を SqlGeometry オブジェクトに読み込みます。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Sub Read ( _
r As BinaryReader _
)
'使用
Dim instance As SqlGeography
Dim r As BinaryReader
instance.Read(r)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public void Read(
BinaryReader r
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
virtual void Read(
BinaryReader^ r
) sealed
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
abstract Read :
r:BinaryReader -> unit
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
override Read :
r:BinaryReader -> unit
public final function Read(
r : BinaryReader
)
パラメーター
- r
型: System.IO.BinaryReader
geography 型のバイナリ表現を読み込む BinaryReader オブジェクトです。
実装
IBinarySerialize.Read(BinaryReader)
説明
このメンバーは sealed です。
このメソッドは、r によって読み込まれた SRID 値が無効な場合に、FormatException をスローします。