XmlCommentSyntax Class
A comment.
public sealed class XmlCommentSyntax : XmlNodeSyntax- Inheritance
XmlNodeSyntaxXmlCommentSyntax
Properties
| Name | Description |
|---|---|
| EndCommentToken | |
| StartCommentToken | |
| Text | Gets the text between the comment delimiters. |
| TextToken |
EndCommentToken
XmlCommentSyntax.csStartCommentToken
XmlCommentSyntax.csTextToken
XmlCommentSyntax.csMethods
| Name | Description |
|---|---|
| Accept(XmlSyntaxVisitor) | |
| Accept<TResult>(XmlSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SyntaxToken, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithEndCommentToken(SyntaxToken) | |
| WithStartCommentToken(SyntaxToken) | |
| WithText(string) | |
| WithTextToken(SyntaxToken) |
Accept overloads
Accept(XmlSyntaxVisitor)
XmlCommentSyntax.cspublic override void Accept(XmlSyntaxVisitor visitor)Parameters
visitorXmlSyntaxVisitor
No documentation is available.
Accept<TResult>(XmlSyntaxVisitor<TResult>)
XmlCommentSyntax.cspublic override TResult? Accept<TResult>(XmlSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken, SyntaxToken, SyntaxToken)
XmlCommentSyntax.csReturns this node with the given parts, or itself when nothing changed.
public XmlCommentSyntax Update(SyntaxToken startCommentToken, SyntaxToken textToken, SyntaxToken endCommentToken)WithEndCommentToken(SyntaxToken)
XmlCommentSyntax.cspublic XmlCommentSyntax WithEndCommentToken(SyntaxToken endCommentToken)No documentation is available.
WithStartCommentToken(SyntaxToken)
XmlCommentSyntax.cspublic XmlCommentSyntax WithStartCommentToken(SyntaxToken startCommentToken)No documentation is available.
WithText(string)
XmlCommentSyntax.cspublic XmlCommentSyntax WithText(string text)WithTextToken(SyntaxToken)
XmlCommentSyntax.cspublic XmlCommentSyntax WithTextToken(SyntaxToken textToken)No documentation is available.