共用方式為


DiscardDesignationSyntax.WithUnderscoreToken(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DiscardDesignationSyntax ^ WithUnderscoreToken(Microsoft::CodeAnalysis::SyntaxToken underscoreToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.DiscardDesignationSyntax WithUnderscoreToken (Microsoft.CodeAnalysis.SyntaxToken underscoreToken);
member this.WithUnderscoreToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DiscardDesignationSyntax
Public Function WithUnderscoreToken (underscoreToken As SyntaxToken) As DiscardDesignationSyntax

參數

underscoreToken
SyntaxToken

傳回

適用於