共用方式為


SyntaxFactory.ElifDirectiveTrivia 方法

定義

多載

ElifDirectiveTrivia(ExpressionSyntax, Boolean, Boolean, Boolean)

建立新的 ElifDirectiveTriviaSyntax 實例。

ElifDirectiveTrivia(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, Boolean, Boolean, Boolean)

建立新的 ElifDirectiveTriviaSyntax 實例。

ElifDirectiveTrivia(ExpressionSyntax, Boolean, Boolean, Boolean)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

建立新的 ElifDirectiveTriviaSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ElifDirectiveTriviaSyntax ^ ElifDirectiveTrivia(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition, bool isActive, bool branchTaken, bool conditionValue);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ElifDirectiveTriviaSyntax ElifDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, bool isActive, bool branchTaken, bool conditionValue);
static member ElifDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * bool * bool * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.ElifDirectiveTriviaSyntax
Public Shared Function ElifDirectiveTrivia (condition As ExpressionSyntax, isActive As Boolean, branchTaken As Boolean, conditionValue As Boolean) As ElifDirectiveTriviaSyntax

參數

condition
ExpressionSyntax
isActive
Boolean
branchTaken
Boolean
conditionValue
Boolean

傳回

適用於

ElifDirectiveTrivia(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, Boolean, Boolean, Boolean)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

建立新的 ElifDirectiveTriviaSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ElifDirectiveTriviaSyntax ^ ElifDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken elifKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive, bool branchTaken, bool conditionValue);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ElifDirectiveTriviaSyntax ElifDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken elifKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive, bool branchTaken, bool conditionValue);
static member ElifDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * bool * bool * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.ElifDirectiveTriviaSyntax
Public Shared Function ElifDirectiveTrivia (hashToken As SyntaxToken, elifKeyword As SyntaxToken, condition As ExpressionSyntax, endOfDirectiveToken As SyntaxToken, isActive As Boolean, branchTaken As Boolean, conditionValue As Boolean) As ElifDirectiveTriviaSyntax

參數

hashToken
SyntaxToken
elifKeyword
SyntaxToken
condition
ExpressionSyntax
endOfDirectiveToken
SyntaxToken
isActive
Boolean
branchTaken
Boolean
conditionValue
Boolean

傳回

適用於