Share via


SingleLineLambdaExpressionSyntax.Update 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::SingleLineLambdaExpressionSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::LambdaHeaderSyntax ^ subOrFunctionHeader, Microsoft::CodeAnalysis::VisualBasic::VisualBasicSyntaxNode ^ body);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.SingleLineLambdaExpressionSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax subOrFunctionHeader, Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode body);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.LambdaHeaderSyntax * Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxNode -> Microsoft.CodeAnalysis.VisualBasic.Syntax.SingleLineLambdaExpressionSyntax
Public Function Update (kind As SyntaxKind, subOrFunctionHeader As LambdaHeaderSyntax, body As VisualBasicSyntaxNode) As SingleLineLambdaExpressionSyntax

Parameters

kind
SyntaxKind

The new kind.

subOrFunctionHeader
LambdaHeaderSyntax

The value for the SubOrFunctionHeader property.

body
VisualBasicSyntaxNode

The value for the Body property.

Returns

Applies to