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


IEditSketch3.UnselectVertex Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

IEditSketch3.UnselectVertex Method

Unselects a vertex.

[Visual Basic .NET]
Public Sub UnselectVertex ( _
    ByVal Part As Integer, _
    ByVal Vertex As Integer _
)
[C#]
public void UnselectVertex (
    int Part,
    int Vertex
);

Product Availability

Available with ArcGIS Desktop.
[C#]

IEditSketch3 editSketch3=m_editor as IEditSketch3;

feature=m_fCArr[0].GetFeature(25);

//call the select vertex method to select a vertex

editSketch3.SelectVertex(0, 2);

editSketch3.SelectVertex(0, 6);

//Make sure you actually selected a vertex.

int checkVertSelection=editSketch3.SelectedVertexCount;

if (checkVertSelection > 2)

{

    editSketch3.UnselectVertex(0, 2);

    editSketch3.UnselectVertex(0, 6);

{

See Also

IEditSketch3 Interface