Export (0) Print
Expand All

IGeographySink.AddLine Method

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)

'Declaration
Sub AddLine ( _
	latitude As Double, _
	longitude As Double, _
	z As Nullable(Of Double), _
	m As Nullable(Of Double) _
)
'Usage
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)

Parameters

latitude
Type: Double
A double that specifies the latitude of a point in a geography figure.
longitude
Type: Double
A double that specifies the longitude of a point in a geography figure.
z
Type: Nullable(Of Double)
A double that specifies the altitude of a point in a geography figure. Is Nullable.
m
Type: Nullable(Of 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.

Community Additions

ADD
Show:
© 2014 Microsoft