SqlGeographyBuilder.AddLine Method

 

Constructs additional points in a geography type figure.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

NameDescription
System_CAPS_pubmethodAddLine(Double, Double)

Constructs additional points in a geography type figure.

System_CAPS_pubmethodAddLine(Double, Double, Nullable<Double>, Nullable<Double>)

Constructs additional points in a geography type 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.

Return to top
Show: