共用方式為


ShebangDirectiveTriviaSyntax.WithExclamationToken(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ShebangDirectiveTriviaSyntax ^ WithExclamationToken(Microsoft::CodeAnalysis::SyntaxToken exclamationToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax WithExclamationToken (Microsoft.CodeAnalysis.SyntaxToken exclamationToken);
member this.WithExclamationToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ShebangDirectiveTriviaSyntax
Public Function WithExclamationToken (exclamationToken As SyntaxToken) As ShebangDirectiveTriviaSyntax

參數

exclamationToken
SyntaxToken

傳回

適用於