ToolboxItem.Lock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locks the toolbox item and prevents changes to its properties.
public:
void Lock();
public:
virtual void Lock();
public void Lock ();
public virtual void Lock ();
member this.Lock : unit -> unit
abstract member Lock : unit -> unit
override this.Lock : unit -> unit
Public Sub Lock ()
Public Overridable Sub Lock ()
Remarks
The properties of a toolbox item cannot be changed when it is locked.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.