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
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.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8