Поделиться через


TryStatementSyntax.WithBlock(BlockSyntax) Метод

Определение

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TryStatementSyntax ^ WithBlock(Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax WithBlock (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
member this.WithBlock : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax
Public Function WithBlock (block As BlockSyntax) As TryStatementSyntax

Параметры

block
BlockSyntax

Возвращаемое значение

Применяется к