Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Constructs additional points in a geography type figure.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
Public Sub AddLine ( _
latitude As Double, _
longitude As Double _
)
'Utilisation
Dim instance As SqlGeographyBuilder
Dim latitude As Double
Dim longitude As Double
instance.AddLine(latitude, longitude)
public void AddLine(
double latitude,
double longitude
)
public:
void AddLine(
double latitude,
double longitude
)
member AddLine :
latitude:float *
longitude:float -> unit
public function AddLine(
latitude : double,
longitude : double
)
Paramètres
- latitude
Type : System.Double
A double that specifies the latitude of a point in a geography figure.
- longitude
Type : System.Double
A double that specifies the longitude of a point in a geography figure.
Notes
Method is used together with BeginFigure() to construct the points of a geography type figure. BeginFigure() can only construct the starting endpoint for a geography type figure. Use AddLine() to construct additional points for the figure.
Method throws a FormatException when there is invalid input.