共用方式為


NullableDirectiveTriviaSyntax.WithIsActive(Boolean) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax WithIsActive (bool isActive);
member this.WithIsActive : bool -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Function WithIsActive (isActive As Boolean) As NullableDirectiveTriviaSyntax

參數

isActive
Boolean

傳回

適用於