VisualGDB SDK Documentation

ExpressionValue.Integral Constructor

Constructs an instance of ExpressionValue.Integral from a given integral value and various options controlling how it is shown to the user.

Integral(
   ulong val,
   bool isSigned,
   int sizeInBits,
   bool forceHex,
   string suffix
);

Parameters

val
The actual integral value.
isSigned
Specifies whether the value is signed.
sizeInBits
Specifies the size of the value in bits. This controls the output format in hexadecimal mode (e.g. 0x0001 vs 0x01).
forceHex
If true, the value will be always shown in hexadecimal format, even if hexadecimal display is disabled. This is useful for pointers.
suffix
Specifies an arbitrary string that will be shown to the user after the formatted value. E.g. can be the value of the pointed string if the value represents a string pointer.

See Also

Integral Class | VisualGDBExpressions Namespace