LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

Unlock Method (AnnObject)






String containing the password used to unlock the annotation object.
Unlocks this AnnObject with the specified password. .NET support Silverlight support
Syntax
public virtual void Unlock( 
   string password
)
'Declaration
 
Public Overridable Sub Unlock( _
   ByVal password As String _
) 
'Usage
 
Dim instance As AnnObject
Dim password As String
 
instance.Unlock(password)
public virtual void Unlock( 
   string password
)
 function Leadtools.Windows.Annotations.AnnObject.Unlock( 
   password 
)
public:
virtual void Unlock( 
   String^ password
) 

Parameters

password
String containing the password used to unlock the annotation object.
Remarks

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 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.

Example

For C#/VB examples, refer to Lock.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.