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


ITinSelection.SetSelected Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinSelection Interface > ITinSelection.SetSelected Method
ArcGIS Developer Help

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