Formatter.WriteObjectRef(Object, String, Type) Formatter.WriteObjectRef(Object, String, Type) Formatter.WriteObjectRef(Object, String, Type) Formatter.WriteObjectRef(Object, String, Type) Method

定义

当在派生类中重写时,向已经连接到格式化程序的流中写入一个对象引用。When overridden in a derived class, writes an object reference to the stream already attached to the formatter.

protected:
 abstract void WriteObjectRef(System::Object ^ obj, System::String ^ name, Type ^ memberType);
protected abstract void WriteObjectRef (object obj, string name, Type memberType);
abstract member WriteObjectRef : obj * string * Type -> unit
Protected MustOverride Sub WriteObjectRef (obj As Object, name As String, memberType As Type)

参数

obj
Object Object Object Object

要写入的对象引用。The object reference to write.

name
String String String String

成员名。The name of the member.

memberType
Type Type Type Type

引用指向的对象的类型。The type of object the reference points to.

注解

使用图形查看遍历来计划对象,以处理工作。Schedules the object with the graph walker to handle the work.

继承者说明

必须在派生类中实现此方法。You must implement this method in a derived class.

适用于