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 TextShape(info, context) |
C# | |
---|---|
public TextShape( SerializationInfo info, StreamingContext context ) |
Parameters
- info
- Object that holds the serialized object data
- context
- Contexual information about the source or destination of the serialization
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