Compartir a través de


SyntaxFactory.DocumentationComment(XmlNodeSyntax[]) Method

Definition

Creates an xml documentation comment that abstracts xml syntax creation.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::DocumentationCommentTriviaSyntax ^ DocumentationComment(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> ^ content);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DocumentationCommentTriviaSyntax DocumentationComment (params Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax[] content);
static member DocumentationComment : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DocumentationCommentTriviaSyntax
Public Shared Function DocumentationComment (ParamArray content As XmlNodeSyntax()) As DocumentationCommentTriviaSyntax

Parameters

content
XmlNodeSyntax[]

A list of xml node syntax that will be the content within the xml documentation comment (e.g. a summary element, a returns element, exception element and so on).

Returns

Applies to