共用方式為


RegionDirectiveTriviaSyntax.WithEndOfDirectiveToken(SyntaxToken) Method

Definition

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

Parameters

endOfDirectiveToken
SyntaxToken

Returns

Applies to