共用方式為


EndRegionDirectiveTriviaSyntax.WithEndRegionKeyword(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::EndRegionDirectiveTriviaSyntax ^ WithEndRegionKeyword(Microsoft::CodeAnalysis::SyntaxToken endRegionKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.EndRegionDirectiveTriviaSyntax WithEndRegionKeyword (Microsoft.CodeAnalysis.SyntaxToken endRegionKeyword);
member this.WithEndRegionKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.EndRegionDirectiveTriviaSyntax
Public Function WithEndRegionKeyword (endRegionKeyword As SyntaxToken) As EndRegionDirectiveTriviaSyntax

參數

endRegionKeyword
SyntaxToken

傳回

適用於