JsonTextWriter.WriteComment Method (original) (raw)

Writes a comment /*...*/ containing the specified text.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db

Syntax

C#

Copy

public override void WriteComment( string text )

Parameters

text

Type: SystemString
Text to place inside the comment.

See Also

Reference

JsonTextWriter Class

Newtonsoft.Json Namespace