共用方式為


PragmaChecksumDirectiveTriviaSyntax.WithFile(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PragmaChecksumDirectiveTriviaSyntax ^ WithFile(Microsoft::CodeAnalysis::SyntaxToken file);
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaChecksumDirectiveTriviaSyntax WithFile (Microsoft.CodeAnalysis.SyntaxToken file);
member this.WithFile : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaChecksumDirectiveTriviaSyntax
Public Function WithFile (file As SyntaxToken) As PragmaChecksumDirectiveTriviaSyntax

參數

傳回

適用於