Redigeeri

Jagamisviis:


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

Definition

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