Share via


SimpleCaseClauseSyntax.WithValue(ExpressionSyntax) Method

Definition

Returns a copy of this with the Value property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleCaseClauseSyntax ^ WithValue(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ value);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleCaseClauseSyntax WithValue (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax value);
member this.WithValue : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleCaseClauseSyntax
Public Function WithValue (value As ExpressionSyntax) As SimpleCaseClauseSyntax

Parameters

Returns

Applies to