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


ILayerEvents.VisibilityChanged Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILayerEvents.VisibilityChanged Event

Occurs when layer visibility changes.

[Visual Basic .NET]
Public Event VisibilityChanged As VisibilityChangedEventHandler
[C#]
public event VisibilityChangedEventHandler VisibilityChanged
[C++]
HRESULT VisibilityChanged(
  VARIANT_BOOL currentState
);
[C++]

Parameters currentState [in] currentState is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ILayerEvents Interface