SyntaxFactory.LabeledStatement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LabeledStatement(SyntaxToken, StatementSyntax) |
Creates a new LabeledStatementSyntax instance. |
LabeledStatement(String, StatementSyntax) |
Creates a new LabeledStatementSyntax instance. |
LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, StatementSyntax) |
Creates a new LabeledStatementSyntax instance. |
LabeledStatement(SyntaxToken, SyntaxToken, StatementSyntax) |
Creates a new LabeledStatementSyntax instance. |
LabeledStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, StatementSyntax) |
Creates a new LabeledStatementSyntax instance. |
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
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(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
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
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
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
- attributeLists
- SyntaxList<AttributeListSyntax>
- 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
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(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
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
- attributeLists
- SyntaxList<AttributeListSyntax>
- identifier
- SyntaxToken
- colonToken
- SyntaxToken
- statement
- StatementSyntax
Returns
Applies to
.NET