共用方式為


InterpolationFormatClauseSyntax.WithColonToken(SyntaxToken) 方法

定義

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

參數

colonToken
SyntaxToken

傳回

適用於