SqlGeometry.STMPointFromWKB, méthode (SqlBytes, Int32)
Retourne une instance SqlGeometry Point à partir d'une représentation OGC (Open Geospatial Consortium) WKB (Well-Known Binary).
Espace de noms: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (dans Microsoft.SqlServer.Types.dll)
Syntaxe
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public static SqlGeometry STMPointFromWKB(
SqlBytes wkbMultiPoint,
int srid
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
static SqlGeometry^ STMPointFromWKB(
SqlBytes^ wkbMultiPoint,
int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
static member STMPointFromWKB :
wkbMultiPoint:SqlBytes *
srid:int -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Shared Function STMPointFromWKB (
wkbMultiPoint As SqlBytes,
srid As Integer
) As SqlGeometry
Paramètres
wkbMultiPoint
Type: System.Data.SqlTypes.SqlBytesReprésentation WKB de l'instance SqlGeometry Point à retourner.
srid
Type: System.Int32Expression int qui représente l'ID de référence spatial (SRID) de l'instance SqlGeometry Point à retourner.
Valeur de retour
Type: Microsoft.SqlServer.Types.SqlGeometry
Objet SqlGeometry construit à partir de la représentation WKB spécifiée.
Notes
Cette méthode lève un FormatException si l'entrée n'est pas correctement mise en forme.
Ce membre est static.
Voir aussi
SqlGeometry, classe
Microsoft.SqlServer.Types, espace de noms
Retour au début