Spread ASP.NET 6.0 Product Documentation
GetObjectData(SerializationInfo,StreamingContext) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Background Class : GetObjectData(SerializationInfo,StreamingContext) Method


info
System.Runtime.Serialization.SerializationInfo to populate with data
context
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 Background
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.GetObjectData(info, context)
C# 
public void GetObjectData( 
   SerializationInfo info,
   StreamingContext context
)

Parameters

info
System.Runtime.Serialization.SerializationInfo to populate with data
context
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.