SyntaxFactory.DefaultSwitchLabel 方法

定义

重载

DefaultSwitchLabel()

创建新的 DefaultSwitchLabelSyntax 实例。

DefaultSwitchLabel(SyntaxToken)

创建新的 DefaultSwitchLabelSyntax 实例。

DefaultSwitchLabel(SyntaxToken, SyntaxToken)

创建新的 DefaultSwitchLabelSyntax 实例。

DefaultSwitchLabel()

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

创建新的 DefaultSwitchLabelSyntax 实例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::DefaultSwitchLabelSyntax ^ DefaultSwitchLabel();
public static Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax DefaultSwitchLabel ();
static member DefaultSwitchLabel : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax
Public Shared Function DefaultSwitchLabel () As DefaultSwitchLabelSyntax

返回

适用于

DefaultSwitchLabel(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
Source:
Syntax.xml.Main.Generated.cs

创建新的 DefaultSwitchLabelSyntax 实例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::DefaultSwitchLabelSyntax ^ DefaultSwitchLabel(Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax DefaultSwitchLabel (Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member DefaultSwitchLabel : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax
Public Shared Function DefaultSwitchLabel (colonToken As SyntaxToken) As DefaultSwitchLabelSyntax

参数

colonToken
SyntaxToken

返回

适用于

DefaultSwitchLabel(SyntaxToken, 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
Source:
Syntax.xml.Main.Generated.cs

创建新的 DefaultSwitchLabelSyntax 实例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::DefaultSwitchLabelSyntax ^ DefaultSwitchLabel(Microsoft::CodeAnalysis::SyntaxToken keyword, Microsoft::CodeAnalysis::SyntaxToken colonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax DefaultSwitchLabel (Microsoft.CodeAnalysis.SyntaxToken keyword, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member DefaultSwitchLabel : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax
Public Shared Function DefaultSwitchLabel (keyword As SyntaxToken, colonToken As SyntaxToken) As DefaultSwitchLabelSyntax

参数

keyword
SyntaxToken
colonToken
SyntaxToken

返回

适用于