Programming with Reflection

image\rwnprg32.gif LockProfile method


Syntax object.LockProfile AllowUnlock, [Password]



Locks the current command profile, disallowing calls to SetCommandProfile and SetCommandGroupProfile.


AllowUnlock Argument Type: Boolean
Specifies whether a subsequent call to UnlockProfile is allowed. If True, the second argument (Password) is required. If False, the second argument is ignored.

Password Argument Type: String
Specifies a password. Must be supplied if AllowUnlock is True. The same password must be used in subsequent calls to UnlockProfile.


image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command