JsonOutputFormatter.WriteObject(TextWriter, Object) 方法

定义

使用给定的 将给定valuewriter的 写入为 JSON。

public:
 void WriteObject(System::IO::TextWriter ^ writer, System::Object ^ value);
public void WriteObject (System.IO.TextWriter writer, object value);
member this.WriteObject : System.IO.TextWriter * obj -> unit
Public Sub WriteObject (writer As TextWriter, value As Object)

参数

writer
TextWriter

TextWriter用于写入value

value
Object

要写入为 JSON 的值。

适用于