Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Password As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string Password {get;} |
XAML Syntax | |
---|---|
You cannot use this property in XAML. |
XAML Syntax | |
---|---|
You cannot use this property in XAML. |
Return Value
The password used in the last successful lock operation of this AnnObjectBase.For C#/VB examples, refer to AnnObjectBase.Lock.
(Read only) If the object is locked, the password passed to the AnnObjectBase.Lock is stored in this property.
When the object is unlocked successfully with AnnObjectBase.Unlock, the password is cleared (the value will be 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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family