com.esri.arcgis.arcmapui
Interface IContentsViewSelection

All Superinterfaces:
Serializable
All Known Implementing Classes:
IContentsViewSelectionProxy, TOCCatalogView, TOCDisplayView

public interface IContentsViewSelection
extends Serializable

Provides access to members that control table of contents views.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 ISet getSelectedItems()
          Selection set containing the highlighted items in contents view.
 void setSelectedItems(ISet selection)
          Selection set containing the highlighted items in contents view.
 

Method Detail

getSelectedItems

ISet getSelectedItems()
                      throws IOException,
                             AutomationException
Selection set containing the highlighted items in contents view.

Product Availability

Available with ArcGIS Desktop.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectedItems

void setSelectedItems(ISet selection)
                      throws IOException,
                             AutomationException
Selection set containing the highlighted items in contents view.

Product Availability

Available with ArcGIS Desktop.

Parameters:
selection - A reference to a com.esri.arcgis.system.ISet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.