SyntaxFactory.XmlEmptyElement Method

Definition

Overloads

XmlEmptyElement(XmlNameSyntax, SyntaxList<XmlAttributeSyntax>)

Creates a new XmlEmptyElementSyntax instance.

XmlEmptyElement(SyntaxToken, XmlNameSyntax, SyntaxList<XmlAttributeSyntax>, SyntaxToken)

Creates a new XmlEmptyElementSyntax instance.

XmlEmptyElement(String)

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

XmlEmptyElement(XmlNameSyntax)

Creates a new XmlEmptyElementSyntax instance.

XmlEmptyElement(XmlNameSyntax, SyntaxList<XmlAttributeSyntax>)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new XmlEmptyElementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlEmptyElementSyntax ^ XmlEmptyElement(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::XmlAttributeSyntax ^> attributes);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax XmlEmptyElement (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.XmlAttributeSyntax> attributes);
static member XmlEmptyElement : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.XmlAttributeSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlEmptyElement (name As XmlNameSyntax, attributes As SyntaxList(Of XmlAttributeSyntax)) As XmlEmptyElementSyntax

Parameters

Returns

Applies to

XmlEmptyElement(SyntaxToken, XmlNameSyntax, SyntaxList<XmlAttributeSyntax>, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new XmlEmptyElementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlEmptyElementSyntax ^ XmlEmptyElement(Microsoft::CodeAnalysis::SyntaxToken lessThanToken, Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::XmlAttributeSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxToken slashGreaterThanToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax XmlEmptyElement (Microsoft.CodeAnalysis.SyntaxToken lessThanToken, Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.XmlAttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken slashGreaterThanToken);
static member XmlEmptyElement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.XmlAttributeSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlEmptyElement (lessThanToken As SyntaxToken, name As XmlNameSyntax, attributes As SyntaxList(Of XmlAttributeSyntax), slashGreaterThanToken As SyntaxToken) As XmlEmptyElementSyntax

Parameters

lessThanToken
SyntaxToken
slashGreaterThanToken
SyntaxToken

Returns

Applies to

XmlEmptyElement(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

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

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlEmptyElementSyntax ^ XmlEmptyElement(System::String ^ localName);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax XmlEmptyElement (string localName);
static member XmlEmptyElement : string -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlEmptyElement (localName As String) As XmlEmptyElementSyntax

Parameters

localName
String

The name of the empty xml element.

Returns

Applies to

XmlEmptyElement(XmlNameSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new XmlEmptyElementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlEmptyElementSyntax ^ XmlEmptyElement(Microsoft::CodeAnalysis::CSharp::Syntax::XmlNameSyntax ^ name);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax XmlEmptyElement (Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax name);
static member XmlEmptyElement : Microsoft.CodeAnalysis.CSharp.Syntax.XmlNameSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlEmptyElement (name As XmlNameSyntax) As XmlEmptyElementSyntax

Parameters

Returns

Applies to