Redactor.GetRedactedLength 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
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
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.