Share via


XmlEmptyElementSyntax.Update 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::XmlEmptyElementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken lessThanToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^ name, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::XmlNodeSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxToken slashGreaterThanToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken lessThanToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax name, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken slashGreaterThanToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlNodeSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax
Public Function Update (lessThanToken As SyntaxToken, name As XmlNodeSyntax, attributes As SyntaxList(Of XmlNodeSyntax), slashGreaterThanToken As SyntaxToken) As XmlEmptyElementSyntax

Parameters

lessThanToken
SyntaxToken

The value for the LessThanToken property.

name
XmlNodeSyntax

The value for the Name property.

attributes
SyntaxList<XmlNodeSyntax>

The value for the Attributes property.

slashGreaterThanToken
SyntaxToken

The value for the SlashGreaterThanToken property.

Returns

Applies to