DocumentationCommentTriviaSyntax.WithContent 方法

定义

返回一个副本,其中 Content 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::DocumentationCommentTriviaSyntax ^ WithContent(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> content);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.DocumentationCommentTriviaSyntax WithContent (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> content);
member this.WithContent : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DocumentationCommentTriviaSyntax
Public Function WithContent (content As SyntaxList(Of XmlNodeSyntax)) As DocumentationCommentTriviaSyntax

参数

返回

适用于