←Select platform

GetObjectData Method

Summary
Populates a specified SerializationInfo with the data needed to serialize this object.

Syntax
C#
C++/CLI
Python
[SecurityPermissionAttribute()] 
[SecurityPermissionAttribute()] 
public override void GetObjectData( 
   SerializationInfo info, 
   StreamingContext 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)] 
[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 |  
    SecurityAction.Deny |  
    SecurityAction.LinkDemand,  
   Unrestricted=false)] 
public: 
void GetObjectData(  
   SerializationInfo^ info, 
   StreamingContext context 
) override  
def GetObjectData(self,info,context): 

Parameters

info
The SerializationInfo to populate with data.

context
The contextual information about the source or destination of the serialization

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.