Partilhar via


Método Read

Reads a binary representation of a geography type into a SqlGeometry object.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
Public Sub Read ( _
    r As BinaryReader _
)
'Uso
Dim instance As SqlGeography
Dim r As BinaryReader

instance.Read(r)
public void Read(
    BinaryReader r
)
public:
virtual void Read(
    BinaryReader^ r
) sealed
abstract Read : 
        r:BinaryReader -> unit 
override Read : 
        r:BinaryReader -> unit 
public final function Read(
    r : BinaryReader
)

Parâmetros

Implementa

IBinarySerialize. . :: . .Read(BinaryReader)

Comentários

This member is sealed.

This method will throw a FormatException if SRID value read by r is invalid.