Partilhar via


XmlNameAttributeSyntax.WithName(XmlNameSyntax) 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::XmlNameAttributeSyntax ^ WithName(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNameSyntax ^ name);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameAttributeSyntax WithName (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax name);
member this.WithName : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameAttributeSyntax
Public Function WithName (name As XmlNameSyntax) As XmlNameAttributeSyntax

Parameters

Returns

Applies to