共用方式為


SyntaxFactory.ForEachVariableStatement 方法

定義

多載

ForEachVariableStatement(ExpressionSyntax, ExpressionSyntax, StatementSyntax)

建立新的 ForEachVariableStatementSyntax 實例。

ForEachVariableStatement(SyntaxList<AttributeListSyntax>, ExpressionSyntax, ExpressionSyntax, StatementSyntax)

建立新的 ForEachVariableStatementSyntax 實例。

ForEachVariableStatement(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

建立新的 ForEachVariableStatementSyntax 實例。

ForEachVariableStatement(SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

建立新的 ForEachVariableStatementSyntax 實例。

ForEachVariableStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

建立新的 ForEachVariableStatementSyntax 實例。

ForEachVariableStatement(ExpressionSyntax, ExpressionSyntax, StatementSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ForEachVariableStatementSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ForEachVariableStatementSyntax ^ ForEachVariableStatement(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ variable, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::StatementSyntax ^ statement);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax ForEachVariableStatement (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax variable, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachVariableStatement : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Shared Function ForEachVariableStatement (variable As ExpressionSyntax, expression As ExpressionSyntax, statement As StatementSyntax) As ForEachVariableStatementSyntax

參數

variable
ExpressionSyntax
expression
ExpressionSyntax
statement
StatementSyntax

傳回

適用於

ForEachVariableStatement(SyntaxList<AttributeListSyntax>, ExpressionSyntax, ExpressionSyntax, StatementSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ForEachVariableStatementSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax ForEachVariableStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax variable, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachVariableStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Shared Function ForEachVariableStatement (attributeLists As SyntaxList(Of AttributeListSyntax), variable As ExpressionSyntax, expression As ExpressionSyntax, statement As StatementSyntax) As ForEachVariableStatementSyntax

參數

variable
ExpressionSyntax
expression
ExpressionSyntax
statement
StatementSyntax

傳回

適用於

ForEachVariableStatement(SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs

建立新的 ForEachVariableStatementSyntax 實例。

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ForEachVariableStatementSyntax ^ ForEachVariableStatement(Microsoft::CodeAnalysis::SyntaxToken forEachKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ variable, 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.ForEachVariableStatementSyntax ForEachVariableStatement (Microsoft.CodeAnalysis.SyntaxToken forEachKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax variable, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachVariableStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Shared Function ForEachVariableStatement (forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, variable As ExpressionSyntax, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachVariableStatementSyntax

參數

forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
variable
ExpressionSyntax
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

傳回

適用於

ForEachVariableStatement(SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs
來源:
ForEachVariableStatementSyntax.cs

建立新的 ForEachVariableStatementSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax ForEachVariableStatement (Microsoft.CodeAnalysis.SyntaxToken awaitKeyword, Microsoft.CodeAnalysis.SyntaxToken forEachKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax variable, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachVariableStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Shared Function ForEachVariableStatement (awaitKeyword As SyntaxToken, forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, variable As ExpressionSyntax, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachVariableStatementSyntax

參數

awaitKeyword
SyntaxToken
forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
variable
ExpressionSyntax
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

傳回

適用於

ForEachVariableStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, SyntaxToken, SyntaxToken, ExpressionSyntax, SyntaxToken, ExpressionSyntax, SyntaxToken, StatementSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ForEachVariableStatementSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax ForEachVariableStatement (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.ExpressionSyntax variable, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken closeParenToken, Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement);
static member ForEachVariableStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Shared Function ForEachVariableStatement (attributeLists As SyntaxList(Of AttributeListSyntax), awaitKeyword As SyntaxToken, forEachKeyword As SyntaxToken, openParenToken As SyntaxToken, variable As ExpressionSyntax, inKeyword As SyntaxToken, expression As ExpressionSyntax, closeParenToken As SyntaxToken, statement As StatementSyntax) As ForEachVariableStatementSyntax

參數

awaitKeyword
SyntaxToken
forEachKeyword
SyntaxToken
openParenToken
SyntaxToken
variable
ExpressionSyntax
inKeyword
SyntaxToken
expression
ExpressionSyntax
closeParenToken
SyntaxToken
statement
StatementSyntax

傳回

適用於