Initializes a new instance of the HexFormat class.

Namespace: Dapfor.Net.Formats
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public HexFormat(
	bool showZero,
	bool showPrefix
)
Visual Basic
Public Sub New ( 
	showZero As Boolean,
	showPrefix As Boolean
)
Visual C++
public:
HexFormat(
	bool showZero, 
	bool showPrefix
)
F#
new : 
        showZero : bool * 
        showPrefix : bool -> HexFormat

Parameters

showZero
Type: System..::..Boolean
if set to true, the format will display '0' or '0x0' when the value is zero. Otherwise the format displays an empty string.
showPrefix
Type: System..::..Boolean
if set to true, the format adds a '0x' prefix to a hexadecimal string.

See Also