共用方式為


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)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
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>)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
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)

來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
SyntaxFactory.vb
來源:
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)

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

參數

傳回

適用於