IContentsView3 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IC > IContentsView3 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcMapUI)  

IContentsView3 Interface

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method Activate Activates the contents view.
Method AddToSelectedItems Adds to the selected items.
Method BasicActivate Activates the contents view.
Read-only property Bitmap Bitmap shown in Table Of Contents window toolbar.
Read/write property ContextItem The context item (could be an enumerator).
Method Deactivate Deactivates the contents view.
Read-only property hWnd The HWND of the contents view.
Read-only property Name The name of the contents view.
Write-only property ProcessEvents Indicates if the view is currently responding to events.
Method Refresh Refreshes the contents view. If a non-null item is specified, it refreshes only that item and its children.
Method RemoveFromSelectedItems Removes an item from the selected items.
Read/write property SelectedItem The selected item (could be an enumerator).
Read/write property ShowLines Indicates if lines are shown in the TOC tree.
Read-only property Tooltip
Read/write property Visible Indicates if the view is visible.

Inherited Interfaces

Interfaces Description
IContentsView2 Provides access to members that control the table of contents views of GMx.
IContentsView Provides access to members that control table of contents views.

CoClasses that implement IContentsView3

CoClasses and Classes Description
[Visual Basic .NET]

Implementation note for VB.Net developers

The Visual Studio IDE will create a stub for each property/method for each IContentsView interface when you implement IContentsView3.

Public ReadOnly Property Name() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView.Name
Public ReadOnly Property Name1() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView2.Name
Public ReadOnly Property Name2() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView3.Name

You can simplify this code by implementing each interface on a single code stub.

Public ReadOnly Property Name() As String Implements IContentsView.Name, IContentsView2.Name, IContentsView3.Name