Share via


Collection.GetObjectData Method

Returns the data needed to serialize the Collection object. Implements the ISerializable interface.

Namespace: Microsoft.VisualBasic

Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

Private Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) Implements ISerializable.GetObjectData
private void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);

Parameters

  • info
    A SerializationInfo object containing the information required to serialize the Collection object.
  • context
    A StreamingContext object containing the source and destination of the serialized stream associated with the Collection object.

Remarks

This method returns the data needed to serialize the Collection object.

Version Information

.NET Framework

Supported in: 2.0

See Also

Reference

Collection
ISerializable
SerializationInfo
StreamingContext
OnDeserialization