Share via


ParenthesizedLambdaExpressionSyntax.WithBlock(BlockSyntax) Method

Definition

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

Parameters

block
BlockSyntax

Returns

Applies to