Compartir a través de


XmlEmptyElementSyntax.WithAttributes(SyntaxList<XmlNodeSyntax>) 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::XmlEmptyElementSyntax ^ WithAttributes(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> attributes);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax 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.XmlEmptyElementSyntax
Public Function WithAttributes (attributes As SyntaxList(Of XmlNodeSyntax)) As XmlEmptyElementSyntax

Parameters

Returns

Applies to