ArcObjects Library Reference (Carto)  

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(
  VARIANT_BOOL* Visible
);
[C++]
HRESULT put_Visible(
  VARIANT_BOOL Visible
);
[C++]

Parameters

Visible [out, retval]   Visible is a parameter of type VARIANT_BOOL Visible [in]   Visible is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

ILayer2 Interface