共用方式為


ElseDirectiveTriviaSyntax.WithBranchTaken(Boolean) Method

Definition

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

Parameters

branchTaken
Boolean

Returns

Applies to