UsingStatementSyntax.Update 方法

定义

返回具有指定更改的此副本。 如果没有实际更改,则返回此实例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::UsingStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken usingKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::VariableDeclaratorSyntax ^> variables);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax> variables);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableDeclaratorSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.UsingStatementSyntax
Public Function Update (usingKeyword As SyntaxToken, expression As ExpressionSyntax, variables As SeparatedSyntaxList(Of VariableDeclaratorSyntax)) As UsingStatementSyntax

参数

usingKeyword
SyntaxToken

UsingKeyword 属性的值。

expression
ExpressionSyntax

Expression 属性的值。

variables
SeparatedSyntaxList<VariableDeclaratorSyntax>

Variables 属性的值。

返回

适用于