Spread Windows Forms 6.0 Product Documentation
Keystroke Constructor(SerializationInfo,StreamingContext)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Keystroke Structure > Keystroke Constructor : Keystroke Constructor(SerializationInfo,StreamingContext)


info
Object that holds the serialized object data
context
Contexual information about the source of the serialization

Glossary Item Box

Creates a new keystroke from serialization.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
Visual Basic (Usage)Copy Code
Dim info As SerializationInfo
Dim context As StreamingContext
 
Dim instance As New Keystroke(info, context)
C# 
public Keystroke( 
   SerializationInfo info,
   StreamingContext context
)

Parameters

info
Object that holds the serialized object data
context
Contexual information about the source of the serialization

Remarks

This constructor initializes a new key stroke (Keystroke object) by loading it from the SerializationInfo.

For more information on serialization information, see the SerializationInfo class in the Microsoft .NET Framework Reference.

For more information on contextual information, see the StreamingContext structure in the Microsoft .NET Framework Reference.

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.