SyntaxFactory.XmlAttribute 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.
Overloads
XmlAttribute(XmlNodeSyntax, XmlNodeSyntax) |
Represents an XML attribute in an XML literal expression. |
XmlAttribute(XmlNodeSyntax, SyntaxToken, XmlNodeSyntax) |
Represents an XML attribute in an XML literal expression. |
XmlAttribute(XmlNodeSyntax, XmlNodeSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents an XML attribute in an XML literal expression.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlAttributeSyntax ^ XmlAttribute(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax XmlAttribute (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax value);
static member XmlAttribute : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax
Public Shared Function XmlAttribute (name As XmlNodeSyntax, value As XmlNodeSyntax) As XmlAttributeSyntax
Parameters
- name
- XmlNodeSyntax
- value
- XmlNodeSyntax
Returns
Applies to
XmlAttribute(XmlNodeSyntax, SyntaxToken, XmlNodeSyntax)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
Represents an XML attribute in an XML literal expression.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlAttributeSyntax ^ XmlAttribute(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ value);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax XmlAttribute (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax value);
static member XmlAttribute : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax
Public Shared Function XmlAttribute (name As XmlNodeSyntax, equalsToken As SyntaxToken, value As XmlNodeSyntax) As XmlAttributeSyntax
Parameters
- name
- XmlNodeSyntax
- equalsToken
- SyntaxToken
- value
- XmlNodeSyntax
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.