ArcObjects Library Reference (Editor)  

IEditSketch.Part Property

The index of the current part of the sketch.

[Visual Basic .NET]
Public ReadOnly Property Part As Integer
[C#]
public int Part {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

You must right-click on the desired part of the edit sketch to set this property correctly. The wrong part index will be returned if you do not right-click on the desired part beforehand. For example, if an edit sketch has two parts, Part will always return a 0 (all sketches have at least one part) until you right click on the second part.

See Also

IEditSketch Interface | IEditSketch.Vertex Property | IEditSketch.Segment Property