NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Dictionary.GetObjectData

Implements the ISerializable interface and returns the data needed to serialize the Dictionary.

[Visual Basic]
Overridable Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
public virtual void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);
[C++]
public: virtual void GetObjectData(
   SerializationInfo* info,
   StreamingContext context
);
[JScript]
public function GetObjectData(
   info : SerializationInfo,
   context : StreamingContext
);

Parameters

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

Return Value

None.

Exceptions

Exception Type Condition
ArgumentNullException info is a null reference (in Visual Basic Nothing).

Remarks

This method can be overridden by a derived class.

A context intercepts calls to the class members and enforce policies that are applied to the class, such as synchronization.

See Also

Dictionary Class | Dictionary Members | System.Collections Namespace | ISerializable | SerializationInfo | StreamingContext | OnDeserialization