ISpanParsable<TSelf> Interface
Definition
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 a mechanism for parsing a span of characters to a value.
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)
Type Parameters
- TSelf
The type that implements this interface.
- Derived
- Implements
Methods
Parse(ReadOnlySpan<Char>, IFormatProvider) |
Parses a span of characters into a value. |
TryParse(ReadOnlySpan<Char>, IFormatProvider, TSelf) |
Tries to parse a span of characters into a value. |
Applies to
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.