Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Unlock() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Unlock() |
C++/CLI | |
---|---|
public: virtual void Unlock(); |
For C#/VB examples, refer to AnnAutomation.Lock.
Use the CanUnlock property to determine whether you can currently call this method.
This method opens the AnnAutomationManager.PasswordDialogType form and uses the value entered in this dialog as the password to AnnObjectBase.Unlock.
If the AnnAutomationManager.PasswordDialogType value is null (Nothing in Visual Basic), this method will not do anything.
For more information, refer to Implementing WPF Annotation Security..
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family