Click or drag to resize
DigitalRuneStringBuilderExtensionsAppendNumber Method (StringBuilder, Int32, AppendNumberOptions)
Converts an integer number to a string and adds it to the string builder.

Namespace: DigitalRune.Text
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static void AppendNumber(
	this StringBuilder builder,
	int number,
	AppendNumberOptions options
)

Parameters

builder
Type: System.TextStringBuilder
The string builder.
number
Type: SystemInt32
The number.
options
Type: DigitalRune.TextAppendNumberOptions
The format options.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionbuilder is .
See Also