Share via


SimpleLambdaExpressionSyntax.WithBlock(BlockSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax WithBlock (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block);
override this.WithBlock : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SimpleLambdaExpressionSyntax
Public Function WithBlock (block As BlockSyntax) As SimpleLambdaExpressionSyntax

Parameters

block
BlockSyntax

Returns

Applies to