Share via


XmlAttributeSyntax.WithName(XmlNodeSyntax) Method

Definition

Returns a copy of this with the Name 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::XmlAttributeSyntax ^ WithName(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax WithName (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name);
member this.WithName : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax
Public Function WithName (name As XmlNodeSyntax) As XmlAttributeSyntax

Parameters

Returns

Applies to