Spread Windows Forms 6.0 Product Documentation
GetObjectData Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellPadding Class : GetObjectData Method


info
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

Glossary Item Box

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Syntax

Visual Basic (Declaration) 
Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As CellPadding
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
C# 
public void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)

Parameters

info
The System.Runtime.Serialization.SerializationInfo to populate with data.
context
The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

Exceptions

ExceptionDescription
System.Security.SecurityExceptionThe caller does not have the required permission.

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.