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)

Syntax

'Declaration
<ObsoleteAttribute("Populate(IGeometrySink) method is obsolete, use Populate(IGeometrySink110) instead.")> _
Public Sub Populate ( _
    sink As IGeometrySink _
)
'Usage
Dim instance As SqlGeometry
Dim sink As IGeometrySink

instance.Populate(sink)
[ObsoleteAttribute("Populate(IGeometrySink) method is obsolete, use Populate(IGeometrySink110) instead.")]
public void Populate(
    IGeometrySink sink
)
[ObsoleteAttribute(L"Populate(IGeometrySink) method is obsolete, use Populate(IGeometrySink110) instead.")]
public:
void Populate(
    IGeometrySink^ sink
)
[<ObsoleteAttribute("Populate(IGeometrySink) method is obsolete, use Populate(IGeometrySink110) instead.")>]
member Populate : 
        sink:IGeometrySink -> unit 
public function Populate(
    sink : IGeometrySink
)

Parameters

Remarks

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

See Also

Reference

SqlGeometry Class

Populate Overload

Microsoft.SqlServer.Types Namespace