共用方式為


ErrorDirectiveTriviaSyntax.WithIsActive(Boolean) Method

Definition

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

Parameters

isActive
Boolean

Returns

Applies to