LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetObjectData Method
See Also 
Leadtools.Annotations Namespace > AnnControlPoint Class : GetObjectData Method



info
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The contextual information about the source or destination of the serialization.

The GetObjectData Method is available in LEADTOOLS Document and Medical Imaging toolkits.

info
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The contextual information about the source or destination of the serialization.
Populates a specified System.Runtime.Serialization.SerializationInfo with the data needed to serialize this object.

Syntax

Visual Basic (Declaration) 
<SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
   Assertion=False, 
   UnmanagedCode=False, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=True, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=False, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Overrides Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnControlPoint
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
C# 
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
   Assertion=false, 
   UnmanagedCode=false, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=true, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public override void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)
C++/CLI 
[SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
   Assertion=false, 
   UnmanagedCode=false, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=true, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
void GetObjectData( 
   SerializationInfo^ info,
   StreamingContext context
) override 

Parameters

info
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The contextual information about the source or destination of the serialization.

Remarks

The annotation class library uses standard .NET serialization to perform various tasks such as fast undo/redo buffers and file load/save.

This member supports the Annotation class library infrastructure and is not intended to be used directly from your code. For more information refer to the System.Runtime.Serialization.ISerializable interface.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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