Share via


XmlAttributeSyntax.Update(XmlNodeSyntax, SyntaxToken, XmlNodeSyntax) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlAttributeSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken equalsToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ value);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name, Microsoft.CodeAnalysis.SyntaxToken equalsToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax value);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlAttributeSyntax
Public Function Update (name As XmlNodeSyntax, equalsToken As SyntaxToken, value As XmlNodeSyntax) As XmlAttributeSyntax

Parameters

name
XmlNodeSyntax

The value for the Name property.

equalsToken
SyntaxToken

The value for the EqualsToken property.

value
XmlNodeSyntax

The value for the Value property.

Returns

Applies to