Share via


SqlGeographyBuilder.AddLine Method

Include Protected Members
Include Inherited Members

Constructs additional points in a geography type figure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddLine(Double, Double) Constructs additional points in a geography type figure.
Public method AddLine(Double, Double, Nullable<Double>, Nullable<Double>) Constructs additional points in a geography type figure.

Top

Remarks

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.