SyntaxFactory.CaseStatement 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
CaseStatement(SyntaxKind, CaseClauseSyntax[]) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(SyntaxKind, SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(SyntaxKind, SeparatedSyntaxList<CaseClauseSyntax>) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(CaseClauseSyntax[]) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(SeparatedSyntaxList<CaseClauseSyntax>) |
Représente une instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case. |
CaseStatement(SyntaxKind, CaseClauseSyntax[])
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, ... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> ^ cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, params Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] cases);
static member CaseStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (kind As SyntaxKind, ParamArray cases As CaseClauseSyntax()) As CaseStatementSyntax
Paramètres
- kind
- SyntaxKind
SyntaxKind représentant le type spécifique de CaseStatementSyntax. L’un des CasStatement, CaseElseStatement.
- cases
- CaseClauseSyntax[]
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.
Retours
S’applique à
CaseStatement(SyntaxKind, SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>)
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken caseKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken caseKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (kind As SyntaxKind, caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Paramètres
- kind
- SyntaxKind
SyntaxKind représentant le type spécifique de CaseStatementSyntax. L’un des CasStatement, CaseElseStatement.
- caseKeyword
- SyntaxToken
L’mot clé « Cas »
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.
Retours
S’applique à
CaseStatement(SyntaxKind, SeparatedSyntaxList<CaseClauseSyntax>)
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (kind As SyntaxKind, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Paramètres
- kind
- SyntaxKind
SyntaxKind représentant le type spécifique de CaseStatementSyntax. L’un des CasStatement, CaseElseStatement.
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.
Retours
S’applique à
CaseStatement(SyntaxToken, SeparatedSyntaxList<CaseClauseSyntax>)
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(Microsoft::CodeAnalysis::SyntaxToken caseKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (Microsoft.CodeAnalysis.SyntaxToken caseKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (caseKeyword As SyntaxToken, cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Paramètres
- caseKeyword
- SyntaxToken
L’mot clé « Cas »
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.
Retours
S’applique à
CaseStatement(CaseClauseSyntax[])
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> ^ cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (params Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] cases);
static member CaseStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (ParamArray cases As CaseClauseSyntax()) As CaseStatementSyntax
Paramètres
- cases
- CaseClauseSyntax[]
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.
Retours
S’applique à
CaseStatement(SeparatedSyntaxList<CaseClauseSyntax>)
- 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 instruction Case ou Case Else. Cette instruction est toujours le début d’un CaseBlock. S’il s’agit d’une instruction Case Else, kind=CaseElse, sinon Kind=Case.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseStatementSyntax ^ CaseStatement(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> cases);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax CaseStatement (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> cases);
static member CaseStatement : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseStatementSyntax
Public Shared Function CaseStatement (cases As SeparatedSyntaxList(Of CaseClauseSyntax)) As CaseStatementSyntax
Paramètres
Liste des clauses associées à ce cas. Si Kind=CaseElse, cette liste a exactement un enfant, qui est un ElseCaseClause.