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)
'Declaration <SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter := True)> _ Protected Overridable Sub GetObjectData ( _ serializationInfo As SerializationInfo, _ streamingContext As StreamingContext _ )
Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.