XmlElementStartTagSyntax Class
The opening tag of an element, with the attributes it declares.
public sealed class XmlElementStartTagSyntax : XmlSyntaxNode- Inheritance
XmlSyntaxNodeXmlElementStartTagSyntax
Properties
| Name | Description |
|---|---|
| Attributes | |
| GreaterThanToken | |
| LessThanToken | |
| Name | Gets the name of the element the tag opens. |
| NameToken |
Attributes
XmlElementStartTagSyntax.cspublic SyntaxList<XmlAttributeSyntax> Attributes { get; }Property value
No documentation is available.
GreaterThanToken
XmlElementStartTagSyntax.csLessThanToken
XmlElementStartTagSyntax.csNameToken
XmlElementStartTagSyntax.csMethods
| Name | Description |
|---|---|
| Accept(XmlSyntaxVisitor) | |
| Accept<TResult>(XmlSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SyntaxToken, SyntaxList<XmlAttributeSyntax>, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithAttributes(SyntaxList<XmlAttributeSyntax>) | |
| WithGreaterThanToken(SyntaxToken) | |
| WithLessThanToken(SyntaxToken) | |
| WithNameToken(SyntaxToken) |
Accept overloads
Accept(XmlSyntaxVisitor)
XmlElementStartTagSyntax.cspublic override void Accept(XmlSyntaxVisitor visitor)Parameters
visitorXmlSyntaxVisitor
No documentation is available.
Accept<TResult>(XmlSyntaxVisitor<TResult>)
XmlElementStartTagSyntax.cspublic override TResult? Accept<TResult>(XmlSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken, SyntaxToken, SyntaxList<XmlAttributeSyntax>, SyntaxToken)
XmlElementStartTagSyntax.csReturns this node with the given parts, or itself when nothing changed.
public XmlElementStartTagSyntax Update(SyntaxToken lessThanToken, SyntaxToken nameToken, SyntaxList<XmlAttributeSyntax> attributes, SyntaxToken greaterThanToken)Parameters
lessThanTokenSyntaxTokennameTokenSyntaxTokenattributesSyntaxList<XmlAttributeSyntax>greaterThanTokenSyntaxToken
Returns
WithAttributes(SyntaxList<XmlAttributeSyntax>)
XmlElementStartTagSyntax.cspublic XmlElementStartTagSyntax WithAttributes(SyntaxList<XmlAttributeSyntax> attributes)No documentation is available.
WithGreaterThanToken(SyntaxToken)
XmlElementStartTagSyntax.cspublic XmlElementStartTagSyntax WithGreaterThanToken(SyntaxToken greaterThanToken)No documentation is available.
WithLessThanToken(SyntaxToken)
XmlElementStartTagSyntax.cspublic XmlElementStartTagSyntax WithLessThanToken(SyntaxToken lessThanToken)No documentation is available.
WithNameToken(SyntaxToken)
XmlElementStartTagSyntax.cspublic XmlElementStartTagSyntax WithNameToken(SyntaxToken nameToken)No documentation is available.