Utf8JsonWriter.WriteCommentValue メソッド

定義

オーバーロード

名前 説明
WriteCommentValue(ReadOnlySpan<Byte>)

UTF-8 テキスト値を JSON コメントとして書き込みます。

WriteCommentValue(ReadOnlySpan<Char>)

UTF-16 テキスト値を JSON コメントとして書き込みます。

WriteCommentValue(String)

文字列テキスト値を JSON コメントとして書き込みます。

WriteCommentValue(ReadOnlySpan<Byte>)

ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs

UTF-8 テキスト値を JSON コメントとして書き込みます。

public:
 void WriteCommentValue(ReadOnlySpan<System::Byte> utf8Value);
public void WriteCommentValue(ReadOnlySpan<byte> utf8Value);
member this.WriteCommentValue : ReadOnlySpan<byte> -> unit
Public Sub WriteCommentValue (utf8Value As ReadOnlySpan(Of Byte))

パラメーター

utf8Value
ReadOnlySpan<Byte>

/../内で JSON コメントとして書き込まれる UTF-8 エンコード値。

例外

指定された値が大きすぎます。

-又は-

utf8Value には、コメント区切り記号 (つまり、 */) が含まれています。

注釈

コメント値は、書き込む前にエスケープされません。

適用対象

WriteCommentValue(ReadOnlySpan<Char>)

ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs

UTF-16 テキスト値を JSON コメントとして書き込みます。

public:
 void WriteCommentValue(ReadOnlySpan<char> value);
public void WriteCommentValue(ReadOnlySpan<char> value);
member this.WriteCommentValue : ReadOnlySpan<char> -> unit
Public Sub WriteCommentValue (value As ReadOnlySpan(Of Char))

パラメーター

value
ReadOnlySpan<Char>

/../内で UTF-8 トランスコードされた JSON コメントとして書き込まれる UTF-16 エンコード値。

例外

指定された値が大きすぎます。

-又は-

value には、コメント区切り記号 (つまり、 */) が含まれています。

注釈

コメント値は、書き込む前にエスケープされません。

適用対象

WriteCommentValue(String)

ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs
ソース:
Utf8JsonWriter.WriteValues.Comment.cs

文字列テキスト値を JSON コメントとして書き込みます。

public:
 void WriteCommentValue(System::String ^ value);
public void WriteCommentValue(string value);
member this.WriteCommentValue : string -> unit
Public Sub WriteCommentValue (value As String)

パラメーター

value
String

/../内で UTF-8 トランスコードされた JSON コメントとして書き込まれる UTF-16 エンコード値。

例外

指定された値が大きすぎます。

-又は-

value には、コメント区切り記号 (つまり、 */) が含まれています。

value パラメーターはnull

注釈

コメント値は、書き込む前にエスケープされません。

適用対象