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


ITOCControl2.ActiveView Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

ITOCControl2.ActiveView Property

The ActiveView used to populate the TOCControl.

[Visual Basic .NET]
Public ReadOnly Property ActiveView As IActiveView
[C#]
public IActiveView ActiveView {get;}
[C++]
HRESULT get_ActiveView(
  IActiveView** ActiveView
);
[C++]

Parameters ActiveView [out, retval]
ActiveView is a parameter of type IActiveView

Product Availability

Available with ArcGIS Engine.

Description

This is the ActiveView of the Buddy that is used by the TOCControl to populate itself with maps, layers and symbols. The ActiveView is set by the SetBuddyControl or SetActiveView methods.

See Also

ITOCControl2 Interface