NullRedactor.Redact Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Redact(String) |
Redacts potentially sensitive data. |
Redact(ReadOnlySpan<Char>, Span<Char>) |
Redacts potentially sensitive data. |
Redact(String)
- Source:
- NullRedactor.cs
Redacts potentially sensitive data.
public:
override System::String ^ Redact(System::String ^ source);
public override string Redact (string? source);
override this.Redact : string -> string
Public Overrides Function Redact (source As String) As String
Parameters
- source
- String
Value to redact.
Returns
Redacted value.
Applies to
Redact(ReadOnlySpan<Char>, Span<Char>)
- Source:
- NullRedactor.cs
Redacts potentially sensitive data.
public:
override int Redact(ReadOnlySpan<char> source, Span<char> destination);
public override int Redact (ReadOnlySpan<char> source, Span<char> destination);
override this.Redact : ReadOnlySpan<char> * Span<char> -> int
Public Overrides Function Redact (source As ReadOnlySpan(Of Char), destination As Span(Of Char)) As Integer
Parameters
- source
- ReadOnlySpan<Char>
Value to redact.
Returns
Number of characters produced when redacting the given source input.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.