This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Populates a SerializationInfo with the data needed to serialize the target object.
Assembly: System (in System.dll)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)] protected override void GetObjectData( SerializationInfo serializationInfo, StreamingContext streamingContext )
Any objects that are included in the SerializationInfo are automatically tracked and serialized by the formatter.