Export (0) Print
Expand All

SqlGeometry.Populate Method (IGeometrySink)

Note: This API is now obsolete.

Applies a geometry type call sequence to an IGeometrySink object. The call sequence is a sequential set of figures, lines, and points. SqlGeometry

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

[ObsoleteAttribute("Populate(IGeometrySink) method is obsolete, use Populate(IGeometrySink110) instead.")]
public void Populate(
	IGeometrySink sink
)

Parameters

sink
Type: Microsoft.SqlServer.Types.IGeometrySink
IGeometrySink object that is the receiver of a geometry type call sequence.

The call sequence is in WKI (Well Known Interface) format. The following example shows the WKI format for the LineString(1 0, 2 0, 3 3).

SetSrid 0

BeginGeometry LineString

BeginFigure 1 0

AddLine 2 0

AddLine 3 3

EndFigure

EndGeometry

Community Additions

ADD
Show:
© 2014 Microsoft