Partager via


SyntaxFactory.XmlElement Method

Definition

Overloads

XmlElement(XmlElementStartTagSyntax, SyntaxList<XmlNodeSyntax>, XmlElementEndTagSyntax)

Represents an XML element with content in an XML literal expression.

XmlElement(String, SyntaxList<XmlNodeSyntax>)

Creates the syntax representation of a named xml element within xml documentation comments.

XmlElement(XmlElementStartTagSyntax, XmlElementEndTagSyntax)

Represents an XML element with content in an XML literal expression.

XmlElement(XmlNameSyntax, SyntaxList<XmlNodeSyntax>)

Creates the syntax representation of a named xml element within xml documentation comments.

XmlElement(XmlElementStartTagSyntax, SyntaxList<XmlNodeSyntax>, XmlElementEndTagSyntax)

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
Source:
Syntax.xml.Main.Generated.vb

Represents an XML element with content in an XML literal expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementSyntax ^ XmlElement(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementStartTagSyntax ^ startTag, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> content, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementEndTagSyntax ^ endTag);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax XmlElement (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax startTag, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> content, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax endTag);
static member XmlElement : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Shared Function XmlElement (startTag As XmlElementStartTagSyntax, content As SyntaxList(Of XmlNodeSyntax), endTag As XmlElementEndTagSyntax) As XmlElementSyntax

Parameters

Returns

Applies to

XmlElement(String, SyntaxList<XmlNodeSyntax>)

Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb

Creates the syntax representation of a named xml element within xml documentation comments.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementSyntax ^ XmlElement(System::String ^ localName, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> content);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax XmlElement (string localName, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> content);
static member XmlElement : string * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Shared Function XmlElement (localName As String, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax

Parameters

localName
String

The name of the empty xml element.

content
SyntaxList<XmlNodeSyntax>

A list of syntax nodes that represents the content of the xml element.

Returns

Applies to

XmlElement(XmlElementStartTagSyntax, XmlElementEndTagSyntax)

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
Source:
Syntax.xml.Main.Generated.vb

Represents an XML element with content in an XML literal expression.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementSyntax ^ XmlElement(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementStartTagSyntax ^ startTag, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementEndTagSyntax ^ endTag);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax XmlElement (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax startTag, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax endTag);
static member XmlElement : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementEndTagSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Shared Function XmlElement (startTag As XmlElementStartTagSyntax, endTag As XmlElementEndTagSyntax) As XmlElementSyntax

Parameters

Returns

Applies to

XmlElement(XmlNameSyntax, SyntaxList<XmlNodeSyntax>)

Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb
Source:
SyntaxFactory.vb

Creates the syntax representation of a named xml element within xml documentation comments.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementSyntax ^ XmlElement(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> content);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax XmlElement (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> content);
static member XmlElement : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementSyntax
Public Shared Function XmlElement (name As XmlNameSyntax, content As SyntaxList(Of XmlNodeSyntax)) As XmlElementSyntax

Parameters

name
XmlNameSyntax

The name of the empty xml element.

content
SyntaxList<XmlNodeSyntax>

A list of syntax nodes that represents the content of the xml element.

Returns

Applies to