ISpanParsable<TSelf> Interfejs
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Definiuje mechanizm analizowania zakresu znaków do wartości.
generic <typename TSelf>
where TSelf : ISpanParsable<TSelf>public interface class ISpanParsable : IParsable<TSelf>
public interface ISpanParsable<TSelf> : IParsable<TSelf> where TSelf : ISpanParsable<TSelf>
type ISpanParsable<'Self (requires 'Self :> ISpanParsable<'Self>)> = interface
interface IParsable<'Self (requires 'Self :> ISpanParsable<'Self>)>
Public Interface ISpanParsable(Of TSelf)
Implements IParsable(Of TSelf)
Parametry typu
- TSelf
Typ implementujący ten interfejs.
- Pochodne
- Implementuje
Metody
| Parse(ReadOnlySpan<Char>, IFormatProvider) |
Analizuje zakres znaków w wartości. |
| TryParse(ReadOnlySpan<Char>, IFormatProvider, TSelf) |
Próbuje przeanalizować zakres znaków w wartości. |