ILayer.Visible Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILayer.Visible Property

Indicates if the layer is currently visible.

[Visual Basic .NET]
Public Property Visible As Boolean
public bool Visible {get; set;}
HRESULT get_Visible(
  Boolean* Visible
HRESULT put_Visible(

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

ILayer Interface

.NET Snippets

Toggle Visibility Of Composite Layer

.NET Samples

Add a custom menu created in .NET to ArcGIS for Desktop (Code Files: AddShapefile) | Cut polygons without selection edit task (Code Files: EditingForm) | Custom reshape polyline edit task (Code Files: EditingForm) | Layer property page and property sheet (Code Files: LayerVisibilityPage) | Managing snap agents (Code Files: EditingForm) | Custom vertex editing commands (Code Files: EditingForm) | Buffer snap agent (Code Files: EditingForm) | Edit event listener (Code Files: EditingForm)

.NET Related Topics

Adding a custom menu created in .NET to ArcGIS for Desktop