Formatter.Schedule(Object) 方法

定義

排程物件以供後續序列化。

protected:
 virtual long Schedule(System::Object ^ obj);
protected virtual long Schedule(object obj);
abstract member Schedule : obj -> int64
override this.Schedule : obj -> int64
Protected Overridable Function Schedule (obj As Object) As Long

參數

obj
Object

要排程序列化的物件。

傳回

物件 ID 被分配給物件。

備註

Schedule 取得該物件的 ID,若是新的物件 ID,則將其放入佇列以便後續序列化。 排程是一個工作佇列,包含要序列化的物件,並被儲存在格式化器中。 如果物件已經在工作佇列中,則不會被第二次加入,但也不會拋出例外。

適用於

另請參閱