Formatter.GetNext(Int64) Formatter.GetNext(Int64) Formatter.GetNext(Int64) Formatter.GetNext(Int64) Method

定義

從格式子的內部工作佇列傳回要序列化的下一個物件。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);
abstract member GetNext :  -> obj
override this.GetNext :  -> obj
Protected Overridable Function GetNext (ByRef objID As Long) As Object

參數

objID
Int64 Int64 Int64 Int64

在序列化期間指定給目前物件的 ID。The ID assigned to the current object during serialization.

傳回

要序列化的下一個物件。The next object to serialize.

例外狀況

從工作佇列擷取的下一個物件不具有指派的 ID。The next object retrieved from the work queue did not have an assigned ID.

備註

物件會傳回在先進先出順序是根據它們如何傳遞至ScheduleObjects are returned in a first in first out order based on how they were passed to Schedule. 物件的識別碼會放入objID函式傳回參數和物件。The ID of the object is put into the objID parameter and the object is returned from the function.

適用於

另請參閱