共用方式為


ConstructorInitializerSyntax.WithColonToken(SyntaxToken) 方法

定義

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

參數

colonToken
SyntaxToken

傳回

適用於