Partager via


Méthode AddLine

Constructs additional points other than the starting endpoint in a geography type figure.

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

Syntaxe

'Déclaration
Sub AddLine ( _
    latitude As Double, _
    longitude As Double, _
    z As Nullable(Of Double), _
    m As Nullable(Of Double) _
)
'Utilisation
Dim instance As IGeographySink
Dim latitude As Double
Dim longitude As Double
Dim z As Nullable(Of Double)
Dim m As Nullable(Of Double)

instance.AddLine(latitude, longitude, _
    z, m)
void AddLine(
    double latitude,
    double longitude,
    Nullable<double> z,
    Nullable<double> m
)
void AddLine(
    double latitude, 
    double longitude, 
    Nullable<double> z, 
    Nullable<double> m
)
abstract AddLine : 
        latitude:float * 
        longitude:float * 
        z:Nullable<float> * 
        m:Nullable<float> -> unit 
function AddLine(
    latitude : double, 
    longitude : double, 
    z : Nullable<double>, 
    m : Nullable<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.