StandardFormat(Char, Byte) Constructor
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.
Initializes a new instance of the StandardFormat structure.
public StandardFormat (char symbol, byte precision = 255);
new System.Buffers.StandardFormat : char * byte -> System.Buffers.StandardFormat
Public Sub New (symbol As Char, Optional precision As Byte = 255)
Parameters
- symbol
- Char
A type-specific format specifier, such as 'G', 'D', or 'X'.
- precision
- Byte
An optional precision ranging from 0 to 99, or the special value NoPrecision (the default).
Exceptions
symbol
is not NoPrecision, and its value is greater than MaxPrecision.
-or-
symbol
cannot be converted to a Byte.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.