SyntaxFactory.XmlEmptyElement 方法

定义

重载

XmlEmptyElement(SyntaxToken, XmlNodeSyntax, SyntaxList<XmlNodeSyntax>, SyntaxToken)

表示表单 <元素的空 XML 元素 />

XmlEmptyElement(XmlNodeSyntax, SyntaxList<XmlNodeSyntax>)

表示表单 <元素的空 XML 元素 />

XmlEmptyElement(String)

在 xml 文档注释中创建命名的空 xml 元素的语法表示形式。

XmlEmptyElement(XmlNodeSyntax)

表示表单 <元素的空 XML 元素 />

XmlEmptyElement(SyntaxToken, XmlNodeSyntax, SyntaxList<XmlNodeSyntax>, SyntaxToken)

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

表示表单 <元素的空 XML 元素 />

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

参数

lessThanToken
SyntaxToken
slashGreaterThanToken
SyntaxToken

返回

适用于

XmlEmptyElement(XmlNodeSyntax, SyntaxList<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

表示表单 <元素的空 XML 元素 />

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

参数

返回

适用于

XmlEmptyElement(String)

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

在 xml 文档注释中创建命名的空 xml 元素的语法表示形式。

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

参数

localName
String

空 xml 元素的名称。

返回

适用于

XmlEmptyElement(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

表示表单 <元素的空 XML 元素 />

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

参数

返回

适用于