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


ITinSelection.SetSelected Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinSelection.SetSelected Method

Selects the element referenced by the index.

[Visual Basic .NET]
Public Sub SetSelected ( _
    ByVal Index As Integer, _
    ByVal Type As esriTinElementType, _
    ByVal action As esriTinSelectionType _
)
[C#]
public void SetSelected (
    int Index,
    esriTinElementType Type,
    esriTinSelectionType action
);
[C++]
HRESULT SetSelected(
  long Index,
  esriTinElementType Type,
  esriTinSelectionType action
);
[C++]

Parameters Index [in]
Index is a parameter of type long Type [in]
Type is a parameter of type esriTinElementType action [in]
action is a parameter of type esriTinSelectionType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

When working with edge selection the software will ensure an edge selected/unselected in one triangle will also select/unselect the corresponding edge in the neighboring triangle. So while there are technically two edges separating adjacent triangles TIN selection handles them logically as one.

See Also

ITinSelection Interface