Toggles the visibility of the force element layer with the specified unique id.
[Visual Basic .NET] Public Sub ToggleLayerVisibility ( _ ByVal LayerUID As String, _ ByVal Visible As Boolean _ )
[C#] public void ToggleLayerVisibility ( string LayerUID, bool Visible );
[C++]
HRESULT ToggleLayerVisibility(
BSTR LayerUID,
VARIANT_BOOL Visible
);
[C++]Parameters
LayerUID [in] LayerUID is a parameter of type BSTR Visible [in] Visible is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine and ArcGIS Desktop.