Visual Basic (Declaration) | |
---|---|
Protected Overrides NotOverridable Sub Serialize( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ToolboxItemWizard Dim info As SerializationInfo Dim context As StreamingContext instance.Serialize(info, context) |
C# | |
---|---|
protected override void Serialize( SerializationInfo info, StreamingContext context ) |
C++/CLI | |
---|---|
protected: void Serialize( SerializationInfo^ info, StreamingContext context ) override |
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo to save to.
- context
- A System.Runtime.Serialization.StreamingContext that indicates the stream characteristics.
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