ILiveWatchEngineGetFormattersForSize Method

Returns a list of built-in formatters that match the given size of a scalar variable. E.g. for 4, will return 'signed int32', 'unsigned int32' and 'hexadecimal int32'.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
ILiveWatchFormatter[] GetFormattersForSize(
	int sizeInBytes,
	ScalarVariableType typeHint
)

Parameters

sizeInBytes  Int32
Specifies the variable size (typically, 1, 2, 4 or 8) for which the matching formatters will be located.
typeHint  ScalarVariableType
Specifies the optional scalar variable type, if known. If there is a default formatter for this type, it will be placed to the beginning of the returned array.

Return Value

ILiveWatchFormatter
An array of the formatters matching the specified size. If no matches are found, returns an empty array.

See Also