- password
- String containing the password used to unlock the annotation object.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim password As String instance.Unlock(password) |
Parameters
- password
- String containing the password used to unlock the annotation object.
For C#/VB examples, refer to AnnObject.Lock.
Only objects locked with the same password can be unlocked. If you pass the wrong password, this method will do nothing and the object remains unlocked. You can call AnnObject.IsLocked after calling this method to determine whether unlocking the object succeeded.
If this method succeeds, the Password value will be reset to an empty string.
An object must be unlocked in order to change that object in automated mode.
For more information, refer to Implementing WPF Annotation Security.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)