StandardFormat.Parse 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.
Overloads
Parse(ReadOnlySpan<Char>) |
Converts a |
Parse(String) |
Converts a classic .NET standard format string to a StandardFormat instance. |
Parse(ReadOnlySpan<Char>)
- Source:
- StandardFormat.cs
- Source:
- StandardFormat.cs
- Source:
- StandardFormat.cs
Converts a ReadOnlySpan<System.Char>
into a StandardFormat instance using NoPrecision precision.
public:
static System::Buffers::StandardFormat Parse(ReadOnlySpan<char> format);
public static System.Buffers.StandardFormat Parse (ReadOnlySpan<char> format);
static member Parse : ReadOnlySpan<char> -> System.Buffers.StandardFormat
Public Shared Function Parse (format As ReadOnlySpan(Of Char)) As StandardFormat
Parameters
- format
- ReadOnlySpan<Char>
A read-only span that contains the character to parse.
Returns
A value whose Symbol property value is the character in format
and whose Precision property value is NoPrecision.
Applies to
Parse(String)
- Source:
- StandardFormat.cs
- Source:
- StandardFormat.cs
- Source:
- StandardFormat.cs
Converts a classic .NET standard format string to a StandardFormat instance.
public:
static System::Buffers::StandardFormat Parse(System::String ^ format);
public static System.Buffers.StandardFormat Parse (string? format);
public static System.Buffers.StandardFormat Parse (string format);
static member Parse : string -> System.Buffers.StandardFormat
Public Shared Function Parse (format As String) As StandardFormat
Parameters
- format
- String
A classic .NET standard format string.
Returns
A format.
Exceptions
format
is not a valid standard format string.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應