共用方式為


UndefDirectiveTriviaSyntax.WithUndefKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::UndefDirectiveTriviaSyntax ^ WithUndefKeyword(Microsoft::CodeAnalysis::SyntaxToken undefKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax WithUndefKeyword (Microsoft.CodeAnalysis.SyntaxToken undefKeyword);
member this.WithUndefKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax
Public Function WithUndefKeyword (undefKeyword As SyntaxToken) As UndefDirectiveTriviaSyntax

Parameters

undefKeyword
SyntaxToken

Returns

Applies to