Formatter.GetNext(Int64) 方法
定义
从格式化程序的内部工作队列返回下一个要序列化的对象。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
参数
- objID
- 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.
注解
根据传递到对象的方式,按首先的顺序返回对象 Schedule 。Objects are returned in a first in first out order based on how they were passed to Schedule. 对象的 ID 放入 objID 参数,并从函数返回对象。The ID of the object is put into the objID parameter and the object is returned from the function.