GetLayerUIState(String) Method
In This Topic
Gets the visibility state of an optional content group (layer) in the context of an end-user UI The return value is interpreted as follows:
- true: the user explicitly made the layer visible.
- false: the user explicitly made the layer hidden.
- a null reference (Nothing in Visual Basic): the user did not change the visibility of the layer.
Syntax
'Declaration
Public Overloads Function GetLayerUIState( _
ByVal As System.String _
) As System.Nullable(Of Boolean)
public System.Nullable<bool> GetLayerUIState(
System.string
)
Parameters
- layerName
- The name of the target layer.
Return Value
The state of the layer.
See Also