Share via


AttributeTargetSyntax.WithAttributeModifier(SyntaxToken) Method

Definition

Returns a copy of this with the AttributeModifier 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::AttributeTargetSyntax ^ WithAttributeModifier(Microsoft::CodeAnalysis::SyntaxToken attributeModifier);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax WithAttributeModifier (Microsoft.CodeAnalysis.SyntaxToken attributeModifier);
member this.WithAttributeModifier : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax
Public Function WithAttributeModifier (attributeModifier As SyntaxToken) As AttributeTargetSyntax

Parameters

attributeModifier
SyntaxToken

Returns

Applies to