共用方式為


IfDirectiveTriviaSyntax.WithBranchTaken(Boolean) Method

Definition

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

Parameters

branchTaken
Boolean

Returns

Applies to