共用方式為


EndIfDirectiveTriviaSyntax.WithIsActive(Boolean) 方法

定義

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

參數

isActive
Boolean

傳回

適用於