LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

GetObjectData Method (AnnTextObject)






The System.Runtime.Serialization.SerializationInfo class object to populate with data.
The contextual information about the source or destination of the serialization.
Populates a specified System.Runtime.Serialization.SerializationInfo class object with the data needed to serialize this object.
Syntax
[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
)
'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)>
Public Overrides Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
'Usage
 
Dim instance As AnnTextObject
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
[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
)
SecurityPermissionAttribute(Flags=SecurityPermissionFlag.SerializationFormatter, 
   Assertion=, 
   UnmanagedCode=, 
   SkipVerification=, 
   Execution=, 
   ControlThread=, 
   ControlEvidence=, 
   ControlPolicy=, 
   SerializationFormatter=, 
   ControlDomainPolicy=, 
   ControlPrincipal=, 
   ControlAppDomain=, 
   RemotingConfiguration=, 
   Infrastructure=, 
   BindingRedirects=, 
   Action=SecurityAction.Demand, 
   Unrestricted=)
 function Leadtools.Annotations.AnnTextObject.GetObjectData( 
   info ,
   context 
)
[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 class object 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 the user's code. For more information refer to the System.Runtime.Serialization.ISerializable interface.

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

AnnTextObject Class
AnnTextObject Members

 

 


Products | Support | Contact Us | Copyright Notices

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