AttributeTargetSyntax.Update(SyntaxToken, SyntaxToken) 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::AttributeTargetSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken attributeModifier, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax Update (Microsoft.CodeAnalysis.SyntaxToken attributeModifier, Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax
Public Function Update (attributeModifier As SyntaxToken, colonToken As SyntaxToken) As AttributeTargetSyntax

Parameters

attributeModifier
SyntaxToken

The value for the AttributeModifier property.

colonToken
SyntaxToken

The value for the ColonToken property.

Returns

Applies to