Formatter.GetNext(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the next object to serialize, from the formatter's internal work queue.
protected:
virtual System::Object ^ GetNext([Runtime::InteropServices::Out] long % objID);
protected virtual object? GetNext (out long objID);
protected virtual object GetNext (out long objID);
abstract member GetNext : int64 -> obj
override this.GetNext : int64 -> obj
Protected Overridable Function GetNext (ByRef objID As Long) As Object
Parameters
- objID
- Int64
The ID assigned to the current object during serialization.
Returns
The next object to serialize.
Exceptions
The next object retrieved from the work queue did not have an assigned ID.
Remarks
Objects are returned in a first in first out order based on how they were passed to Schedule. The ID of the object is put into the objID
parameter and the object is returned from the function.