Partager via


Méthode SqlGeometry.Read

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

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Sub Read ( _
    r As BinaryReader _
)
'Utilisation
Dim instance As SqlGeometry 
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
)

Paramètres

Implémente

IBinarySerialize.Read(BinaryReader)

Notes

This member is sealed.

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

Voir aussi

Référence

SqlGeometry Classe

Espace de noms Microsoft.SqlServer.Types