共用方式為


DefineDirectiveTriviaSyntax.WithDefineKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DefineDirectiveTriviaSyntax ^ WithDefineKeyword(Microsoft::CodeAnalysis::SyntaxToken defineKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax WithDefineKeyword (Microsoft.CodeAnalysis.SyntaxToken defineKeyword);
member this.WithDefineKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefineDirectiveTriviaSyntax
Public Function WithDefineKeyword (defineKeyword As SyntaxToken) As DefineDirectiveTriviaSyntax

Parameters

defineKeyword
SyntaxToken

Returns

Applies to