共用方式為


ExpressionRangeVariableSyntax.Update 方法

定義

傳回具有指定之變更的這個複本。 如果沒有實際變更,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionRangeVariableSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::VariableNameEqualsSyntax ^ nameEquals, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax nameEquals, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax
Public Function Update (nameEquals As VariableNameEqualsSyntax, expression As ExpressionSyntax) As ExpressionRangeVariableSyntax

參數

nameEquals
VariableNameEqualsSyntax

NameEquals 屬性的值。

expression
ExpressionSyntax

Expression 屬性的值。

傳回

適用於