Partager via


WhereClauseSyntax.Update(SyntaxToken, ExpressionSyntax) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::WhereClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken whereKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ condition);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.WhereClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken whereKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax condition);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhereClauseSyntax
Public Function Update (whereKeyword As SyntaxToken, condition As ExpressionSyntax) As WhereClauseSyntax

Parameters

whereKeyword
SyntaxToken

The value for the WhereKeyword property.

condition
ExpressionSyntax

The value for the Condition property.

Returns

Applies to