ToolStripItem.ToolStripItemAccessibleObject.AddState(AccessibleStates) 方法

定义

如果 StateAccessibleStates,则添加一个 NoneAdds a State if AccessibleStates is None.

public:
 void AddState(System::Windows::Forms::AccessibleStates state);
public void AddState (System.Windows.Forms.AccessibleStates state);
member this.AddState : System.Windows.Forms.AccessibleStates -> unit
Public Sub AddState (state As AccessibleStates)

参数

state
AccessibleStates

AccessibleStates 以外的 None 值之一。One of the AccessibleStates values other than None.

适用于