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
)
Public Function FormatCode (
code As String
) As String
public:
virtual String^ FormatCode(
String^ code
) sealed
abstract FormatCode :
code : string -> string
override FormatCode :
code : string -> string
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