共用方式為


ParenthesizedLambdaExpressionSyntax.WithBlock(BlockSyntax) 方法

定義

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

參數

block
BlockSyntax

傳回

適用於