共用方式為


PragmaWarningDirectiveTriviaSyntax.WithEndOfDirectiveToken Method

Definition

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

Parameters

endOfDirectiveToken
SyntaxToken

Returns

Applies to