Partager via


SyntaxFactory.BinaryConditionalExpression Méthode

Définition

Surcharges

BinaryConditionalExpression(ExpressionSyntax, ExpressionSyntax)

Représente une expression conditionnelle, If(condition, true-expr, false-expr) ou If(expr, nothing-expr).

BinaryConditionalExpression(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken)

Représente une expression conditionnelle, If(condition, true-expr, false-expr) ou If(expr, nothing-expr).

BinaryConditionalExpression(ExpressionSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Représente une expression conditionnelle, If(condition, true-expr, false-expr) ou If(expr, nothing-expr).

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::BinaryConditionalExpressionSyntax ^ BinaryConditionalExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ firstExpression, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ secondExpression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax BinaryConditionalExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax firstExpression, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax secondExpression);
static member BinaryConditionalExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax
Public Shared Function BinaryConditionalExpression (firstExpression As ExpressionSyntax, secondExpression As ExpressionSyntax) As BinaryConditionalExpressionSyntax

Paramètres

firstExpression
ExpressionSyntax

Première expression entre parenthèses.

secondExpression
ExpressionSyntax

Deuxième expression entre parenthèses.

Retours

S’applique à

BinaryConditionalExpression(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Représente une expression conditionnelle, If(condition, true-expr, false-expr) ou If(expr, nothing-expr).

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::BinaryConditionalExpressionSyntax ^ BinaryConditionalExpression(Microsoft::CodeAnalysis::SyntaxToken ifKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ firstExpression, Microsoft::CodeAnalysis::SyntaxToken commaToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ secondExpression, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax BinaryConditionalExpression (Microsoft.CodeAnalysis.SyntaxToken ifKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax firstExpression, Microsoft.CodeAnalysis.SyntaxToken commaToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax secondExpression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
static member BinaryConditionalExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.BinaryConditionalExpressionSyntax
Public Shared Function BinaryConditionalExpression (ifKeyword As SyntaxToken, openParenToken As SyntaxToken, firstExpression As ExpressionSyntax, commaToken As SyntaxToken, secondExpression As ExpressionSyntax, closeParenToken As SyntaxToken) As BinaryConditionalExpressionSyntax

Paramètres

ifKeyword
SyntaxToken

Mot clé « If »

openParenToken
SyntaxToken

Jeton « ( » »

firstExpression
ExpressionSyntax

Première expression entre parenthèses.

commaToken
SyntaxToken

Jeton « , ».

secondExpression
ExpressionSyntax

Deuxième expression entre parenthèses.

closeParenToken
SyntaxToken

Jeton « ) »

Retours

S’applique à