SyntaxFactory.SimpleAssignmentStatement 方法

定义

重载

SimpleAssignmentStatement(ExpressionSyntax, ExpressionSyntax)

表示简单、复合或中间赋值语句。 可以通过检查 Kind 来确定哪一个。

SimpleAssignmentStatement(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

表示简单、复合或中间赋值语句。 可以通过检查 Kind 来确定哪一个。

SimpleAssignmentStatement(ExpressionSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示简单、复合或中间赋值语句。 可以通过检查 Kind 来确定哪一个。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AssignmentStatementSyntax ^ SimpleAssignmentStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ left, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ right);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AssignmentStatementSyntax SimpleAssignmentStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax right);
static member SimpleAssignmentStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AssignmentStatementSyntax
Public Shared Function SimpleAssignmentStatement (left As ExpressionSyntax, right As ExpressionSyntax) As AssignmentStatementSyntax

参数

left
ExpressionSyntax

目标 (工作分配的左侧) 。

right
ExpressionSyntax

源 (分配的右侧) 。

返回

适用于

SimpleAssignmentStatement(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示简单、复合或中间赋值语句。 可以通过检查 Kind 来确定哪一个。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AssignmentStatementSyntax ^ SimpleAssignmentStatement(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ left, Microsoft::CodeAnalysis::SyntaxToken operatorToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ right);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AssignmentStatementSyntax SimpleAssignmentStatement (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax right);
static member SimpleAssignmentStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AssignmentStatementSyntax
Public Shared Function SimpleAssignmentStatement (left As ExpressionSyntax, operatorToken As SyntaxToken, right As ExpressionSyntax) As AssignmentStatementSyntax

参数

left
ExpressionSyntax

目标 (工作分配的左侧) 。

operatorToken
SyntaxToken

赋值语句中使用的运算符。 “=”、“+=”、“-=”、“*=”、“/=”、“=”、“=”、“^=”、“&=”、“<<=”或“>>=”之一。

right
ExpressionSyntax

源 (分配的右侧) 。

返回

适用于