Partilhar via


SyntaxFactory.XmlMultiLineElement Method

Definition

Overloads

XmlMultiLineElement(XmlNameSyntax, SyntaxList<XmlNodeSyntax>)

Creates the syntax representation of an xml element that spans multiple text lines.

XmlMultiLineElement(String, SyntaxList<XmlNodeSyntax>)

Creates the syntax representation of an xml element that spans multiple text lines.

XmlMultiLineElement(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
Source:
SyntaxFactory.cs

Creates the syntax representation of an xml element that spans multiple text lines.

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

Parameters

name
XmlNameSyntax

The name of the xml element.

content
SyntaxList<XmlNodeSyntax>

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

Returns

Applies to

XmlMultiLineElement(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
Source:
SyntaxFactory.cs

Creates the syntax representation of an xml element that spans multiple text lines.

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

Parameters

localName
String

The name of the xml element.

content
SyntaxList<XmlNodeSyntax>

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

Returns

Applies to