Click or drag to resize

PowerShellFormattingInfoFormatCode Method

Formats the specified source code.

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
An HTML fragment containing the formatted code, or if custom formatting failed and the CodeFormatter should fall back to regular formatting.

Implements

ICustomFormattingInfoFormatCode(String)
See Also