Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Unlock() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Unlock() |
Managed Extensions for C++ | |
---|---|
public: virtual void Unlock(); |
C++/CLI | |
---|---|
public: virtual void Unlock(); |
For an example, refer to Lock.
Use the CanUnlock property to determine whether you can currently call this method.
This method opens the PasswordDialogType form and uses the value entered in this dialog as the password to Unlock.
If the PasswordDialogType value is null (Nothing in Visual Basic), this method will not do anything.
For more information, refer to Implementing Annotation Security..
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family