Topic Transformation ExtensionsFormat Unsigned Enum Value Method
Format an unsigned enumeration value using the given options
Definition
Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
The formatted enumeration value
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static string FormatUnsignedEnumValue(
string enumValue,
EnumValueFormat format,
int minWidth,
int separatorGroupSize
)VB
Public Shared Function FormatUnsignedEnumValue (
enumValue As String,
format As EnumValueFormat,
minWidth As Integer,
separatorGroupSize As Integer
) As StringC++
public:
static String^ FormatUnsignedEnumValue(
String^ enumValue,
EnumValueFormat format,
int minWidth,
int separatorGroupSize
)F#
static member FormatUnsignedEnumValue :
enumValue : string *
format : EnumValueFormat *
minWidth : int *
separatorGroupSize : int -> string Parameters
- enumValue String
- The value to format
- format EnumValueFormat
- The format
- minWidth Int32
- The minimum width for hex and bit flag values
- separatorGroupSize Int32
- The separator group size (4 or 8) or zero for no separators
Return Value
StringThe formatted enumeration value