Метод AddLine (Double, Double)
Constructs additional points in a geography type figure.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
'Декларация
Public Sub AddLine ( _
latitude As Double, _
longitude As Double _
)
'Применение
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
)
Параметры
- latitude
Тип: System. . :: . .Double
A double that specifies the latitude of a point in a geography figure.
- longitude
Тип: System. . :: . .Double
A double that specifies the longitude of a point in a geography figure.
Замечания
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.
См. также