共用方式為


PragmaWarningDirectiveTriviaSyntax.WithIsActive(Boolean) Method

Definition

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

Parameters

isActive
Boolean

Returns

Applies to