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

Definición

Define una conversión implícita de una cadena determinada en un intervalo de caracteres de solo lectura.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)

Parámetros

value
String

Una cadena que se va a convertir de forma implícita.A string to implicitly convert.

Devoluciones

Un nuevo intervalo de caracteres de solo lectura que representa la cadena.A new read-only span of characters representing the string.

Se aplica a