SyntaxFactory.WhenClause Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
WhenClause(ExpressionSyntax) |
Crée une instance WhenClauseSyntax. |
WhenClause(SyntaxToken, ExpressionSyntax) |
Crée une instance WhenClauseSyntax. |
WhenClause(ExpressionSyntax)
- 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
- Source:
- Syntax.xml.Main.Generated.cs
Crée une instance WhenClauseSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::WhenClauseSyntax ^ WhenClause(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition);
public static Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax WhenClause (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition);
static member WhenClause : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax
Public Shared Function WhenClause (condition As ExpressionSyntax) As WhenClauseSyntax
Paramètres
- condition
- ExpressionSyntax
Retours
S’applique à
WhenClause(SyntaxToken, ExpressionSyntax)
- 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
- Source:
- Syntax.xml.Main.Generated.cs
Crée une instance WhenClauseSyntax.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::WhenClauseSyntax ^ WhenClause(Microsoft::CodeAnalysis::SyntaxToken whenKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ condition);
public static Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax WhenClause (Microsoft.CodeAnalysis.SyntaxToken whenKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax condition);
static member WhenClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax
Public Shared Function WhenClause (whenKeyword As SyntaxToken, condition As ExpressionSyntax) As WhenClauseSyntax
Paramètres
- whenKeyword
- SyntaxToken
- condition
- ExpressionSyntax
Retours
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.