Freigeben über


RegionDirectiveTriviaSyntax.WithRegionKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::RegionDirectiveTriviaSyntax ^ WithRegionKeyword(Microsoft::CodeAnalysis::SyntaxToken regionKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.RegionDirectiveTriviaSyntax WithRegionKeyword (Microsoft.CodeAnalysis.SyntaxToken regionKeyword);
member this.WithRegionKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.RegionDirectiveTriviaSyntax
Public Function WithRegionKeyword (regionKeyword As SyntaxToken) As RegionDirectiveTriviaSyntax

Parameters

regionKeyword
SyntaxToken

Returns

Applies to