XmlNameSyntax.WithLocalName(SyntaxToken) Method

Definition

Returns a copy of this with the LocalName 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::XmlNameSyntax ^ WithLocalName(Microsoft::CodeAnalysis::SyntaxToken localName);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax WithLocalName (Microsoft.CodeAnalysis.SyntaxToken localName);
member this.WithLocalName : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNameSyntax
Public Function WithLocalName (localName As SyntaxToken) As XmlNameSyntax

Parameters

localName
SyntaxToken

Returns

Applies to