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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET