共用方式為


SqlGeography.Deserialize 方法

Returns a constructed SqlGeometry from an internal SQL Server format for spatial data. Can be used for sending spatial data over the network or reading them from files.

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
Public Shared Function Deserialize ( _
    bytes As SqlBytes _
) As SqlGeography
'用途
Dim bytes As SqlBytes 
Dim returnValue As SqlGeography 

returnValue = SqlGeography.Deserialize(bytes)
public static SqlGeography Deserialize(
    SqlBytes bytes
)
public:
static SqlGeography^ Deserialize(
    SqlBytes^ bytes
)
static member Deserialize : 
        bytes:SqlBytes -> SqlGeography
public static function Deserialize(
    bytes : SqlBytes
) : SqlGeography

參數

傳回值

型別:Microsoft.SqlServer.Types.SqlGeography
The data being sent over the network.

請參閱

參考

SqlGeography 類別

Microsoft.SqlServer.Types 命名空間