Constructors
-
Standard
Format(Char, Initializes a new instance of the StandardFormat structure.Byte)
Methods
- Equals(Object) Returns a value that indicates whether the specified object is a StandardFormat object that is equal to the current instance.
-
Equals(Standard
Format) Returns a value that indicates whether the specified StandardFormat is equal to the current instance. -
Get
Hash Returns the hash code for this instance.Code() -
Parse(Read
Only Converts a ReadOnlySpan<System.Char> into a StandardFormat instance using NoPrecision precision.Span<Char>) - Parse(String) Converts a classic .NET standard format string to a StandardFormat instance.
-
To
String() Returns the string representation of this format. -
Try
Parse(Read Attempts to convert a ReadOnlySpan<Char> to a StandardFormat instance and returns a value that indicates whether the parsing operation succeeded.Only Span<Char>, Standard Format&) -
op_Equality(Standard
Format, Returns a value that indicates whether two StandardFormat instances are equal.Standard Format) -
op_Implicit(Char):Standard
Format Converts a character to a StandardFormat instance using NoPrecision precision. -
op_Inequality(Standard
Format, Determines whether two StandardFormat instances are unequal.Standard Format)
Fields
-
Max
Precision Defines the maximum valid precision value. -
No
Precision Indicates that a format doesn't use a precision or that the precision is unspecified.
Properties
-
Has
Precision Gets a value that indicates whether a format has a defined precision. -
Is
Default Gets a value that indicates whether the current instance is a default format. - Precision Gets the precision component of the format.
- Symbol Gets the character component of the format.