Click or drag to resize

CodeFormatterFormatCode Method

Formats the specifies source code as HTML.

Namespace:  Ookii.FormatC
Assembly:  Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.1.0
Syntax
public string FormatCode(
	string code
)

Parameters

code
Type: SystemString
The code to format.

Return Value

Type: String
The formatted HTML.
Exceptions
ExceptionCondition
InvalidOperationExceptionFormattingInfo is .
Examples
For an example see CodeFormatter.
See Also