RedactionStringBuilderExtensions.AppendRedacted 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AppendRedacted(StringBuilder, Redactor, ReadOnlySpan<Char>) |
修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。 |
AppendRedacted(StringBuilder, Redactor, String) |
修訂潛在的敏感性資料,並將其附加至 StringBuilder 實例。 |
AppendRedacted(StringBuilder, Redactor, ReadOnlySpan<Char>)
修訂潛在的敏感性資料,並將其附加至 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
的值。
例外狀況
redactor
為 null
。
適用於
AppendRedacted(StringBuilder, Redactor, String)
修訂潛在的敏感性資料,並將其附加至 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
的值。
例外狀況
redactor
為 null
。
備註
value
當 不會 null
將 任何專案附加至字串產生器時。