共用方式為


ElseDirectiveTriviaSyntax.WithIsActive(Boolean) Method

Definition

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

Parameters

isActive
Boolean

Returns

Applies to