共用方式為


NullableDirectiveTriviaSyntax.WithSettingToken(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax WithSettingToken (Microsoft.CodeAnalysis.SyntaxToken settingToken);
member this.WithSettingToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Function WithSettingToken (settingToken As SyntaxToken) As NullableDirectiveTriviaSyntax

Parameters

settingToken
SyntaxToken

Returns

Applies to