Κοινή χρήση μέσω


Redactor.GetRedactedLength Method

Definition

Overloads

GetRedactedLength(ReadOnlySpan<Char>)

Gets the number of characters produced by redacting the input.

GetRedactedLength(String)

Gets the number of characters produced by redacting the input.

GetRedactedLength(ReadOnlySpan<Char>)

Source:
Redactor.cs

Gets the number of characters produced by redacting the input.

public:
 abstract int GetRedactedLength(ReadOnlySpan<char> input);
public abstract int GetRedactedLength (ReadOnlySpan<char> input);
abstract member GetRedactedLength : ReadOnlySpan<char> -> int
Public MustOverride Function GetRedactedLength (input As ReadOnlySpan(Of Char)) As Integer

Parameters

input
ReadOnlySpan<Char>

Value to be redacted.

Returns

The number of characters produced by redacting the input.

Applies to

GetRedactedLength(String)

Source:
Redactor.cs

Gets the number of characters produced by redacting the input.

public:
 int GetRedactedLength(System::String ^ input);
public int GetRedactedLength (string? input);
member this.GetRedactedLength : string -> int
Public Function GetRedactedLength (input As String) As Integer

Parameters

input
String

Value to be redacted.

Returns

Minimum buffer size.

Applies to