Поделиться через


SyntaxFactory.ForEachStatement Метод

Определение

Перегрузки

ForEachStatement(TypeSyntax, SyntaxToken, ExpressionSyntax, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(TypeSyntax, String, ExpressionSyntax, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(SyntaxList<AttributeListSyntax>, TypeSyntax, SyntaxToken, ExpressionSyntax, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

Создает новый экземпляр ForEachStatementSyntax.

ForEachStatement(TypeSyntax, SyntaxToken, ExpressionSyntax, 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

Создает новый экземпляр ForEachStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ForEachStatementSyntax ^ ForEachStatement(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (type As TypeSyntax, identifier As SyntaxToken, expression As ExpressionSyntax, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

type
TypeSyntax
identifier
SyntaxToken
expression
ExpressionSyntax
statement
StatementSyntax

Возвращаемое значение

Применяется к

ForEachStatement(TypeSyntax, String, ExpressionSyntax, 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

Создает новый экземпляр ForEachStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ForEachStatementSyntax ^ ForEachStatement(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, System::String ^ identifier, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * string * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (type As TypeSyntax, identifier As String, expression As ExpressionSyntax, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

type
TypeSyntax
identifier
String
expression
ExpressionSyntax
statement
StatementSyntax

Возвращаемое значение

Применяется к

ForEachStatement(SyntaxList<AttributeListSyntax>, TypeSyntax, SyntaxToken, ExpressionSyntax, 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

Создает новый экземпляр ForEachStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (attributeLists As SyntaxList(Of AttributeListSyntax), type As TypeSyntax, identifier As SyntaxToken, expression As ExpressionSyntax, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

type
TypeSyntax
identifier
SyntaxToken
expression
ExpressionSyntax
statement
StatementSyntax

Возвращаемое значение

Применяется к

ForEachStatement(SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs
Source:
ForEachStatementSyntax.cs

Создает новый экземпляр ForEachStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ForEachStatementSyntax ^ ForEachStatement(Microsoft::CodeAnalysis::SyntaxToken forEachKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::SyntaxToken identifier, Microsoft::CodeAnalysis::SyntaxToken inKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken closeParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.SyntaxToken forEachKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, type As TypeSyntax, identifier As SyntaxToken, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
type
TypeSyntax
identifier
SyntaxToken
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Возвращаемое значение

Применяется к

ForEachStatement(SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

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

Создает новый экземпляр ForEachStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken forEachKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (awaitKeyword As SyntaxToken, forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, type As TypeSyntax, identifier As SyntaxToken, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

awaitKeyword
SyntaxToken
forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
type
TypeSyntax
identifier
SyntaxToken
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Возвращаемое значение

Применяется к

ForEachStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, TypeSyntax, SyntaxToken, SyntaxToken, ExpressionSyntax, 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

Создает новый экземпляр ForEachStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax ForEachStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken forEachKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachStatementSyntax
Public Shared Function ForEachStatement (attributeLists As SyntaxList(Of AttributeListSyntax), awaitKeyword As SyntaxToken, forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, type As TypeSyntax, identifier As SyntaxToken, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachStatementSyntax

Параметры

awaitKeyword
SyntaxToken
forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
type
TypeSyntax
identifier
SyntaxToken
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

Возвращаемое значение

Применяется к