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


ILayer2.Visible Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer2 Interface > ILayer2.Visible Property
ArcGIS Developer Help

ILayer2.Visible Property

Indicates if the layer is currently visible.

[Visual Basic .NET]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}
[C++]
HRESULT get_Visible(
  Boolean* Visible
);
[C++]
HRESULT put_Visible(
  VARIANT_BOOL Visible
);
[C++]
Parameters
Visible [out, retval]

Visible is a parameter of type bool* Visible [in]
Visible is a parameter of type bool

Product Availability

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

See Also

ILayer2 Interface