Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetObjectData Method
See Also 
Leadtools.Document Namespace > RasterDocumentException Class : GetObjectData Method



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

Syntax

Visual Basic (Declaration) 
<SecurityPermissionAttribute(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, 
   Unrestricted=False)>
Overrides Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentException
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
C# 
[SecurityPermissionAttribute(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, 
   Unrestricted=false)]
public override void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)
C++/CLI 
[SecurityPermissionAttribute(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, 
   Unrestricted=false)]
public:
void GetObjectData( 
   SerializationInfo^ info,
   StreamingContext context
) override 

Parameters

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

Requirements

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

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.