Share via


ICSharpHelper.XmlComment(String, Int32) Method

Definition

Generates an XML documentation comment. Handles escaping and newlines.

public string XmlComment (string comment, int indent = 0);
abstract member XmlComment : string * int -> string
Public Function XmlComment (comment As String, Optional indent As Integer = 0) As String

Parameters

comment
String

The comment.

indent
Int32

The indentation level to use when multiple lines are generated.

Returns

The comment.

Applies to