Partager via


TryStatementSyntax.WithBlock(BlockSyntax) Méthode

Définition

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

Paramètres

block
BlockSyntax

Retours

S’applique à