Populate 方法

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

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public Sub Populate ( _
    sink As IGeometrySink _
)
用法
Dim instance As SqlGeometry
Dim sink As IGeometrySink

instance.Populate(sink)
public void Populate(
    IGeometrySink sink
)
public:
void Populate(
    IGeometrySink^ sink
)
member Populate : 
        sink:IGeometrySink -> unit 
public function Populate(
    sink : IGeometrySink
)

参数

注释

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