共用方式為


RedactionStringBuilderExtensions.AppendRedacted 方法

定義

多載

AppendRedacted(StringBuilder, Redactor, ReadOnlySpan<Char>)

修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。

AppendRedacted(StringBuilder, Redactor, String)

修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。

AppendRedacted(StringBuilder, Redactor, ReadOnlySpan<Char>)

來源:
RedactionStringBuilderExtensions.cs
來源:
RedactionStringBuilderExtensions.cs

修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Text::StringBuilder ^ AppendRedacted(System::Text::StringBuilder ^ stringBuilder, Microsoft::Extensions::Compliance::Redaction::Redactor ^ redactor, ReadOnlySpan<char> value);
public static System.Text.StringBuilder AppendRedacted (this System.Text.StringBuilder stringBuilder, Microsoft.Extensions.Compliance.Redaction.Redactor redactor, ReadOnlySpan<char> value);
static member AppendRedacted : System.Text.StringBuilder * Microsoft.Extensions.Compliance.Redaction.Redactor * ReadOnlySpan<char> -> System.Text.StringBuilder
<Extension()>
Public Function AppendRedacted (stringBuilder As StringBuilder, redactor As Redactor, value As ReadOnlySpan(Of Char)) As StringBuilder

參數

stringBuilder
StringBuilder

StringBuilder要附加修訂值的 實例。

redactor
Redactor

將修訂輸入值的重做函式。

value
ReadOnlySpan<Char>

要修訂的值。

傳回

stringBuilder 的值。

例外狀況

redactornull

適用於

AppendRedacted(StringBuilder, Redactor, String)

來源:
RedactionStringBuilderExtensions.cs
來源:
RedactionStringBuilderExtensions.cs

修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Text::StringBuilder ^ AppendRedacted(System::Text::StringBuilder ^ stringBuilder, Microsoft::Extensions::Compliance::Redaction::Redactor ^ redactor, System::String ^ value);
public static System.Text.StringBuilder AppendRedacted (this System.Text.StringBuilder stringBuilder, Microsoft.Extensions.Compliance.Redaction.Redactor redactor, string? value);
static member AppendRedacted : System.Text.StringBuilder * Microsoft.Extensions.Compliance.Redaction.Redactor * string -> System.Text.StringBuilder
<Extension()>
Public Function AppendRedacted (stringBuilder As StringBuilder, redactor As Redactor, value As String) As StringBuilder

參數

stringBuilder
StringBuilder

StringBuilder要附加修訂值的 實例。

redactor
Redactor

將修訂輸入值的重做函式。

value
String

要修訂的值。

傳回

stringBuilder 的值。

例外狀況

redactornull

備註

value當 不會 null 將 任何專案附加至字串產生器時。

適用於