共用方式為


IfDirectiveTriviaSyntax.WithIsActive(Boolean) Method

Definition

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

Parameters

isActive
Boolean

Returns

Applies to