Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IGeographySink.AddLine Method (Double, Double, Nullable<Double>, Nullable<Double>)

 

Applies To: SQL Server 2016 Preview

Constructs additional points other than the starting endpoint in a geography type figure. This API is obsolete. IGeographySink110 should be used instead.

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

void AddLine(
	double latitude,
	double longitude,
	Nullable<double> z,
	Nullable<double> m
)

Parameters

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.

z
Type: System.Nullable<Double>

A double that specifies the altitude of a point in a geography figure. Is Nullable.

m
Type: System.Nullable<Double>

A double that specifies the measure type for the point. Is Nullable.

Method is used together with BeginFigure() to construct the points of a geography type figure.

Return to top
Show:
© 2015 Microsoft