共用方式為


LineOrSpanDirectiveTriviaSyntax.WithEndOfDirectiveToken(SyntaxToken) Method

Definition

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

Parameters

endOfDirectiveToken
SyntaxToken

Returns

Applies to