Condividi tramite


UsingStatementSyntax.Update Metodo

Definizione

Restituisce una copia di questo oggetto con le modifiche specificate. Restituisce questa istanza se non sono presenti modifiche effettive.

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

Parametri

usingKeyword
SyntaxToken

Valore per la proprietà UsingKeyword.

expression
ExpressionSyntax

Valore della proprietà Expression.

variables
SeparatedSyntaxList<VariableDeclaratorSyntax>

Valore della proprietà Variables.

Restituisce

Si applica a