Partager via


SyntaxFactory.CasePatternSwitchLabel Méthode

Définition

Surcharges

CasePatternSwitchLabel(PatternSyntax, SyntaxToken)

Crée une instance CasePatternSwitchLabelSyntax.

CasePatternSwitchLabel(PatternSyntax, WhenClauseSyntax, SyntaxToken)

Crée une instance CasePatternSwitchLabelSyntax.

CasePatternSwitchLabel(SyntaxToken, PatternSyntax, WhenClauseSyntax, SyntaxToken)

Crée une instance CasePatternSwitchLabelSyntax.

CasePatternSwitchLabel(PatternSyntax, SyntaxToken)

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 CasePatternSwitchLabelSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CasePatternSwitchLabelSyntax ^ CasePatternSwitchLabel(Microsoft::CodeAnalysis::CSharp::Syntax::PatternSyntax ^ pattern, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax CasePatternSwitchLabel (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member CasePatternSwitchLabel : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax
Public Shared Function CasePatternSwitchLabel (pattern As PatternSyntax, colonToken As SyntaxToken) As CasePatternSwitchLabelSyntax

Paramètres

pattern
PatternSyntax
colonToken
SyntaxToken

Retours

S’applique à

CasePatternSwitchLabel(PatternSyntax, WhenClauseSyntax, SyntaxToken)

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 CasePatternSwitchLabelSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CasePatternSwitchLabelSyntax ^ CasePatternSwitchLabel(Microsoft::CodeAnalysis::CSharp::Syntax::PatternSyntax ^ pattern, Microsoft::CodeAnalysis::CSharp::Syntax::WhenClauseSyntax ^ whenClause, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax CasePatternSwitchLabel (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax whenClause, Microsoft.CodeAnalysis.SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax CasePatternSwitchLabel (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax? whenClause, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member CasePatternSwitchLabel : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax
Public Shared Function CasePatternSwitchLabel (pattern As PatternSyntax, whenClause As WhenClauseSyntax, colonToken As SyntaxToken) As CasePatternSwitchLabelSyntax

Paramètres

pattern
PatternSyntax
whenClause
WhenClauseSyntax
colonToken
SyntaxToken

Retours

S’applique à

CasePatternSwitchLabel(SyntaxToken, PatternSyntax, WhenClauseSyntax, SyntaxToken)

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 CasePatternSwitchLabelSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CasePatternSwitchLabelSyntax ^ CasePatternSwitchLabel(Microsoft::CodeAnalysis::SyntaxToken keyword, Microsoft::CodeAnalysis::CSharp::Syntax::PatternSyntax ^ pattern, Microsoft::CodeAnalysis::CSharp::Syntax::WhenClauseSyntax ^ whenClause, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax CasePatternSwitchLabel (Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax whenClause, Microsoft.CodeAnalysis.SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax CasePatternSwitchLabel (Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern, Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax? whenClause, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member CasePatternSwitchLabel : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.CasePatternSwitchLabelSyntax
Public Shared Function CasePatternSwitchLabel (keyword As SyntaxToken, pattern As PatternSyntax, whenClause As WhenClauseSyntax, colonToken As SyntaxToken) As CasePatternSwitchLabelSyntax

Paramètres

keyword
SyntaxToken
pattern
PatternSyntax
whenClause
WhenClauseSyntax
colonToken
SyntaxToken

Retours

S’applique à