BCGControlBar Library for .NET
Write Method




A SerializationInfo that holds the data needed to serialize the item.

A StreamingContext that represents the source and destination of the stream being serialized.

Serializes an object

Syntax
'Declaration
 
Public Sub Write( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) 
'Usage
 
Dim instance As CommonStateSerializer
Dim info As SerializationInfo
Dim context As StreamingContext
 
instance.Write(info, context)
public void Write( 
   SerializationInfo info,
   StreamingContext context
)
public: void Write( 
   SerializationInfo* info,
   StreamingContext context
) 
public:
void Write( 
   SerializationInfo^ info,
   StreamingContext context
) 

Parameters

info
A SerializationInfo that holds the data needed to serialize the item.
context

A StreamingContext that represents the source and destination of the stream being serialized.

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

Reference

CommonStateSerializer Class
CommonStateSerializer Members

Send Feedback