다음을 통해 공유


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