Autodesk.AutoCAD.DatabaseServices Namespace > LayerStateManager Class > LayerStateManager Methods > HasLayerState Method
LayerStateManager.HasLayerState Method
Description

 

Checks if the layer state name is present and returns true if so, and false otherwise.

Visual Basic
Public Function HasLayerState(
    name As string
) As bool
C#
public bool HasLayerState(
    string name
);
Parameters
Parameters 
Description 
string name 
Input layer state name 
Links
   Comments?