Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SerializeKeyIfEncrypted Property
See Also 
Leadtools.Annotations Namespace > AnnEncryptObject Class : SerializeKeyIfEncrypted Property



Gets or sets a value to indicate whether the Key of this AnnEncryptObject object is serialized along with the rest of the object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property SerializeKeyIfEncrypted As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnEncryptObject
Dim value As Boolean
 
instance.SerializeKeyIfEncrypted = value
 
value = instance.SerializeKeyIfEncrypted
C# 
public virtual bool SerializeKeyIfEncrypted {get; set;}
C++/CLI 
public:
virtual property bool SerializeKeyIfEncrypted {
   bool get();
   void set (bool value);
}

Return Value

true if the Key of this AnnEncryptObject object is serialized along with the rest of the object; false otherwise.

Example

For an example, refer to AnnEncryptObject.

Remarks

Normally this value is only changed before saving this AnnEncryptObject object to a disk file. It is then restored once the save operation is done.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features