Partager via


AttributeListSyntax.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::AttributeListSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken lessThanToken, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeSyntax ^> attributes, Microsoft::CodeAnalysis::SyntaxToken greaterThanToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax Update (Microsoft.CodeAnalysis.SyntaxToken lessThanToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax> attributes, Microsoft.CodeAnalysis.SyntaxToken greaterThanToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax
Public Function Update (lessThanToken As SyntaxToken, attributes As SeparatedSyntaxList(Of AttributeSyntax), greaterThanToken As SyntaxToken) As AttributeListSyntax

Parameters

lessThanToken
SyntaxToken

The value for the LessThanToken property.

attributes
SeparatedSyntaxList<AttributeSyntax>

The value for the Attributes property.

greaterThanToken
SyntaxToken

The value for the GreaterThanToken property.

Returns

Applies to