Share via


XmlElementStartTagSyntax.WithAttributes Method

Definition

Returns a copy of this with the Attributes property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlElementStartTagSyntax ^ WithAttributes(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> attributes);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax WithAttributes (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> attributes);
member this.WithAttributes : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlElementStartTagSyntax
Public Function WithAttributes (attributes As SyntaxList(Of XmlNodeSyntax)) As XmlElementStartTagSyntax

Parameters

Returns

Applies to