共用方式為


CompilationUnitSyntax.WithEndOfFileToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ WithEndOfFileToken(Microsoft::CodeAnalysis::SyntaxToken endOfFileToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax WithEndOfFileToken (Microsoft.CodeAnalysis.SyntaxToken endOfFileToken);
member this.WithEndOfFileToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Function WithEndOfFileToken (endOfFileToken As SyntaxToken) As CompilationUnitSyntax

Parameters

endOfFileToken
SyntaxToken

Returns

Applies to