Поделиться через


SyntaxFactory.XmlElement Метод

Определение

Перегрузки

XmlElement(XmlElementStartTagSyntax, XmlElementEndTagSyntax)

Создает новый экземпляр XmlElementSyntax.

XmlElement(XmlNameSyntax, SyntaxList<XmlNodeSyntax>)

Создает синтаксическое представление именованного xml-элемента в комментариях xml-документации.

XmlElement(String, SyntaxList<XmlNodeSyntax>)

Создает синтаксическое представление именованного xml-элемента в комментариях xml-документации.

XmlElement(XmlElementStartTagSyntax, SyntaxList<XmlNodeSyntax>, XmlElementEndTagSyntax)

Создает новый экземпляр XmlElementSyntax.

XmlElement(XmlElementStartTagSyntax, XmlElementEndTagSyntax)

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

Создает новый экземпляр XmlElementSyntax.

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

Параметры

Возвращаемое значение

Применяется к

XmlElement(XmlNameSyntax, SyntaxList<XmlNodeSyntax>)

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

Создает синтаксическое представление именованного xml-элемента в комментариях xml-документации.

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

Параметры

name
XmlNameSyntax

Имя пустого xml-элемента.

content
SyntaxList<XmlNodeSyntax>

Список узлов синтаксиса, представляющих содержимое xml-элемента.

Возвращаемое значение

Применяется к

XmlElement(String, SyntaxList<XmlNodeSyntax>)

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

Создает синтаксическое представление именованного xml-элемента в комментариях xml-документации.

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

Параметры

localName
String

Имя пустого xml-элемента.

content
SyntaxList<XmlNodeSyntax>

Список узлов синтаксиса, представляющих содержимое xml-элемента.

Возвращаемое значение

Применяется к

XmlElement(XmlElementStartTagSyntax, SyntaxList<XmlNodeSyntax>, XmlElementEndTagSyntax)

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

Создает новый экземпляр XmlElementSyntax.

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

Параметры

Возвращаемое значение

Применяется к