This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch3 Interface > IEditSketch3.IsVertexSelected Method (ArcObjects .NET 10.4 SDK) |
Is a vertex selected.
[Visual Basic .NET] Public Function IsVertexSelected ( _ ByVal Part As Integer, _ ByVal Vertex As Integer _ ) As Boolean
[C#] public bool IsVertexSelected ( int Part, int Vertex );
IEditSketch3 editSketch3=m_editor as IEditSketch3;
IFeature feature=m_fCArr[0].GetFeature(23);
//make sure no vertices are selected to start.
editSketch3.ClearSelectedVertices();
//call the SelectVertex method to select a vertex.
editSketch3.SelectVertex(0, 5);
editSketch3.SelectVertex(0, 20);
//Test to see if one of the selected vertices is selected.
editSketch3.IsVertexSelected(0, 20);