共用方式為


LineSpanDirectiveTriviaSyntax.WithIsActive(Boolean) Method

Definition

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

Parameters

isActive
Boolean

Returns

Applies to