This document is archived and information here might be outdated.  Recommended version.


IEditSketch.Part Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch Interface > IEditSketch.Part Property
ArcGIS Developer Help

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