共用方式為


TryStatementSyntax.WithFinally(FinallyClauseSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::TryStatementSyntax ^ WithFinally(Microsoft::CodeAnalysis::CSharp::Syntax::FinallyClauseSyntax ^ finally);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax WithFinally (Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax finally);
public Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax WithFinally (Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax? finally);
member this.WithFinally : Microsoft.CodeAnalysis.CSharp.Syntax.FinallyClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.TryStatementSyntax
Public Function WithFinally (finally As FinallyClauseSyntax) As TryStatementSyntax

Parameters

Returns

Applies to