ArcObjects Library Reference (Editor)  

IEditSketch3.IsVertexSelected Method

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
);

Product Availability

Available with ArcGIS Desktop.
[C#]

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);

See Also

IEditSketch3 Interface