Partilhar via


SyntaxFactory.LabeledStatement Method

Definition

Overloads

LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, StatementSyntax)

Creates a new LabeledStatementSyntax instance.

LabeledStatement(SyntaxToken, SyntaxToken, StatementSyntax)

Creates a new LabeledStatementSyntax instance.

LabeledStatement(SyntaxToken, StatementSyntax)

Creates a new LabeledStatementSyntax instance.

LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, StatementSyntax)

Creates a new LabeledStatementSyntax instance.

LabeledStatement(String, StatementSyntax)

Creates a new LabeledStatementSyntax instance.

LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, StatementSyntax)

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

Creates a new LabeledStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax LabeledStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member LabeledStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Shared Function LabeledStatement (attributeLists As SyntaxList(Of AttributeListSyntax), identifier As SyntaxToken, statement As StatementSyntax) As LabeledStatementSyntax

Parameters

identifier
SyntaxToken
statement
StatementSyntax

Returns

Applies to

LabeledStatement(SyntaxToken, SyntaxToken, StatementSyntax)

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

Creates a new LabeledStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LabeledStatementSyntax ^ LabeledStatement(Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::SyntaxToken colonToken, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax LabeledStatement (Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken colonToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member LabeledStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Shared Function LabeledStatement (identifier As SyntaxToken, colonToken As SyntaxToken, statement As StatementSyntax) As LabeledStatementSyntax

Parameters

identifier
SyntaxToken
colonToken
SyntaxToken
statement
StatementSyntax

Returns

Applies to

LabeledStatement(SyntaxToken, StatementSyntax)

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

Creates a new LabeledStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LabeledStatementSyntax ^ LabeledStatement(Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax LabeledStatement (Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member LabeledStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Shared Function LabeledStatement (identifier As SyntaxToken, statement As StatementSyntax) As LabeledStatementSyntax

Parameters

identifier
SyntaxToken
statement
StatementSyntax

Returns

Applies to

LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, StatementSyntax)

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

Creates a new LabeledStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax LabeledStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken colonToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member LabeledStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Shared Function LabeledStatement (attributeLists As SyntaxList(Of AttributeListSyntax), identifier As SyntaxToken, colonToken As SyntaxToken, statement As StatementSyntax) As LabeledStatementSyntax

Parameters

identifier
SyntaxToken
colonToken
SyntaxToken
statement
StatementSyntax

Returns

Applies to

LabeledStatement(String, StatementSyntax)

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

Creates a new LabeledStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::LabeledStatementSyntax ^ LabeledStatement(System::String ^ identifier, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax LabeledStatement (string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member LabeledStatement : string * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.LabeledStatementSyntax
Public Shared Function LabeledStatement (identifier As String, statement As StatementSyntax) As LabeledStatementSyntax

Parameters

identifier
String
statement
StatementSyntax

Returns

Applies to