共用方式為


NullableDirectiveTriviaSyntax.WithNullableKeyword(SyntaxToken) Method

Definition

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

Parameters

nullableKeyword
SyntaxToken

Returns

Applies to