String.Implicit(String to ReadOnlySpan<Char>) Operator

Definition

Definisce una conversione implicita di una determinata stringa in un intervallo di sola lettura di caratteri.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);
static member op_Implicit : string -> ReadOnlySpan<char>
Public Shared Widening Operator CType (value As String) As ReadOnlySpan(Of Char)

Parameters

value
String

Stringa da convertire in modo implicito.A string to implicitly convert.

Returns

ReadOnlySpan<Char>

Nuovo intervallo di sola lettura di caratteri che rappresenta la stringa.A new read-only span of characters representing the string.

Applies to