StandardFormat.TryParse(ReadOnlySpan<Char>, StandardFormat) Method
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.
Attempts to convert a ReadOnlySpan<Char>
to a StandardFormat instance and returns a value that indicates whether the parsing operation succeeded.
public:
static bool TryParse(ReadOnlySpan<char> format, [Runtime::InteropServices::Out] System::Buffers::StandardFormat % result);
public static bool TryParse(ReadOnlySpan<char> format, out System.Buffers.StandardFormat result);
static member TryParse : ReadOnlySpan<char> * StandardFormat -> bool
Public Shared Function TryParse (format As ReadOnlySpan(Of Char), ByRef result As StandardFormat) As Boolean
Parameters
- format
- ReadOnlySpan<Char>
A read-only span that contains the character to convert.
- result
- StandardFormat
When the method returns, contains the parsed StandardFormat instance if the operation was successful.
Returns
true
if the parsing operation was successful; otherwise, false
.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET