String.Implicit(String to ReadOnlySpan<Char>) Operator
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.
Defines an implicit conversion of a given string to a read-only span of characters.
public:
static operator ReadOnlySpan<char>(System::String ^ value);
public static implicit operator ReadOnlySpan<char> (string? value);
public static implicit operator ReadOnlySpan<char> (string value);
static member op_Implicit : string -> ReadOnlySpan<char>
Public Shared Widening Operator CType (value As String) As ReadOnlySpan(Of Char)
Parameters
- value
- String
A string to implicitly convert.
Returns
A new read-only span of characters representing the string.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.