ToolboxItem::CheckUnlocked Method ()

 

Throws an exception if the toolbox item is currently locked.

Namespace:   System.Drawing.Design
Assembly:  System.Drawing (in System.Drawing.dll)

protected:
void CheckUnlocked()

Exception Condition
InvalidOperationException

The ToolboxItem is locked.

The CheckUnlocked method throws an InvalidOperationException if the Locked property of the ToolboxItem is set to true.

.NET Framework
Available since 1.1
Return to top
Show: