Spread for ASP.NET 7.0 Product Documentation
GetObjectData(SerializationInfo,StreamingContext) Method
See Also  Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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