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
- 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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for