SyntaxFactory.DocumentationComment(XmlNodeSyntax[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an xml documentation comment that abstracts xml syntax creation.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::DocumentationCommentTriviaSyntax ^ DocumentationComment(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::XmlNodeSyntax ^> ^ content);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax DocumentationComment (params Microsoft.CodeAnalysis.CSharp.Syntax.XmlNodeSyntax[] content);
static member DocumentationComment : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNodeSyntax[] -> Microsoft.CodeAnalysis.CSharp.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.