Comment.ToString Method

Namespace
Kampute.DocToolkit.XmlDoc.Comments
Assembly
  • Kampute.DocToolkit.dll
Comment.ToString()Converts the comment to its string representation without formatting.
Comment.ToString(IXmlDocTransformer)Converts the XML comment to its string representation using the specified formatter.

Comment.ToString()

Converts the comment to its string representation without formatting.
public override string ToString()

Returns

string
The string representation of the comment.

Comment.ToString(IXmlDocTransformer)

Converts the XML comment to its string representation using the specified formatter.
public virtual string ToString(IXmlDocTransformer formatter)

Parameters

formatter IXmlDocTransformer
The formatter to use for converting the XML comment to a string.

Returns

string
The string representation of the comment.

Exceptions

ArgumentNullException
Thrown when formatter is null.