SyntaxFactory.ElifDirectiveTrivia 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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