String.Implicit(String to ReadOnlySpan<Char>) Operator
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);
C#
public static implicit operator ReadOnlySpan<char>(string? value);
C#
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)
- value
- String
A string to implicitly convert.
A new read-only span of characters representing the string.
Proizvod | Verzije |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Sarađujte s nama na GitHub-u
Izvor za ovaj sadržaj može se naći na usluzi GitHub, gdje takođe možete da kreirate i pregledate probleme i povučete zahtjeve. Za više informacija pogledajte naš vodič za saradnike.
.NET povratne informacije
.NET je projekat otvorenog koda. Odaberite vezu za pružanje povratnih informacija: