Freigeben über


SqlGeometry.Serialize-Methode

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

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

Syntax

'Declaration
Public Function Serialize As SqlBytes
'Usage
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

Rückgabewert

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

Hinweise

This is useful for sending spatial data across the network.

Siehe auch

Verweis

SqlGeometry Klasse

Microsoft.SqlServer.Types-Namespace