共用方式為


BranchingDirectiveTriviaSyntax.WithEndOfDirectiveToken(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BranchingDirectiveTriviaSyntax ^ WithEndOfDirectiveToken(Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.BranchingDirectiveTriviaSyntax WithEndOfDirectiveToken (Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken);
override this.WithEndOfDirectiveToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.BranchingDirectiveTriviaSyntax
Public Function WithEndOfDirectiveToken (endOfDirectiveToken As SyntaxToken) As BranchingDirectiveTriviaSyntax

參數

endOfDirectiveToken
SyntaxToken

傳回

適用於