共用方式為


AttributeTargetSpecifierSyntax.WithColonToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ WithColonToken(Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax WithColonToken (Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.WithColonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax
Public Function WithColonToken (colonToken As SyntaxToken) As AttributeTargetSpecifierSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to