Bewerken

Share via


Formatter.GetNext(Int64) Method

Definition

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.

Applies to

See also