Compartir a través de


AttributeTargetSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to