This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch Interface > IEditSketch.Part Property (ArcObjects .NET 10.5 SDK) |
The index of the current part of the sketch.
[Visual Basic .NET] Public ReadOnly Property Part As Integer
[C#] public int Part {get;}
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.
IEditSketch Interface | IEditSketch.Vertex Property | IEditSketch.Segment Property