共用方式為


ConstantPatternSyntax.Update(ExpressionSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ConstantPatternSyntax ^ Update(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ConstantPatternSyntax Update (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
member this.Update : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ConstantPatternSyntax
Public Function Update (expression As ExpressionSyntax) As ConstantPatternSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to