Accesses the method that contains the context of the data from the source or destination.
[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 );
A serialized object is returned as context by StreamingContext.
The GetObjectData method accesses StreamingContext to return the value of the source and/or destination of a given serialized stream. (For more information, see SerializationInfo.)