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


ISelectionResolutionChip Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISelectionResolutionChip Interface
ArcGIS Developer Help

ISelectionResolutionChip Interface

Provides access to the Selection Resolution Chip.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Read/write property AllowAnnoFeatures Indicates if annotation feature candidates are allowed.
Read/write property AllowLineFeatures Indicates if line feature candidates are allowed.
Read/write property AllowPointFeatures Indicates if point feature candidates are allowed.
Read/write property AllowPolygonFeatures Indicates if polygon feature candidates are allowed.
Write-only property CombinationMethod The combination method used when clicked.
Method DoModal Shows the selection resolution chip and require a response.
Method Hide Hides the selection resolution chip.
Read/write property MustBeEditable Indicates if the candidate features must be editable.
Read/write property MustBeSelectable Indicates if the candidate features must be selectable.
Method Show Shows the selection resolution chip.

Classes that implement ISelectionResolutionChip

Classes Description
SelectionResolutionChip An editor extension for resolving selection of multiple features.

Remarks

Use IEditor::FindExtension to access the SelectionResolutionChip.

Use the code below to get a reference to the SelectionResolutionChip

[C#]

public void GetSelectionChipByCLSID()
{
 //If your project is an Add-In you are given the Application. Otherwise you can get the app from the
  //hook parameter.
  UID editorUID = new UIDClass();
  editorUID.Value = "esriEditor.Editor";
  _Editor = ArcMap.Application.FindExtensionByCLSID(editorUID) as IEditor;


  UID chipUid = new UIDClass();
  chipUid.Value = "esriEditor.SelectionResolutionChip";

  ISelectionResolutionChip _SelectionChip = editor.FindExtension(chipUid) as ISelectionResolutionChip;
}

[Visual Basic .NET]

Public Sub GetSelectionChipByCLSID()
  Dim eUID As UID = New UIDClass()
  eUID.Value = "esriEditor.Editor"
  'This Code would be used in an Add-in, if the project is not an add-in the Application object can be 'obtained 'from the hook parameter.
  _Editor = TryCast(My.ArcMap.Application.FindExtensionByCLSID(eUID), IEditor)
  Dim chipUID As UID = New UIDClass()
  chipUID.Value = "esriEditor.SelectionResolutionChip"
  Dim _SelectionChip As ISelectionResolutionChip = TryCast(_Editor.FindExtension(chipUID), ISelectionResolutionChip)
End Sub