Partager via


Méthode SqlGeometry.Serialize

Returns the bytes that represent an internal SQL Server format of SqlGeometry type.

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

Syntaxe

'Déclaration
Public Function Serialize As SqlBytes
'Utilisation
Dim instance As SqlGeometry 
Dim returnValue As SqlBytes 

returnValue = instance.Serialize()
public SqlBytes Serialize()
public:
SqlBytes^ Serialize()
member Serialize : unit -> SqlBytes
public function Serialize() : SqlBytes

Valeur de retour

Type : System.Data.SqlTypes.SqlBytes
Returns the bytes that represent an internal SQL Server format of SqlGeometry type.

Notes

This is useful for sending spatial data across the network.

Voir aussi

Référence

SqlGeometry Classe

Espace de noms Microsoft.SqlServer.Types