次の方法で共有


TryBlockSyntax.WithFinallyBlock(FinallyBlockSyntax) Method

Definition

Returns a copy of this with the FinallyBlock property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::TryBlockSyntax ^ WithFinallyBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::FinallyBlockSyntax ^ finallyBlock);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TryBlockSyntax WithFinallyBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax finallyBlock);
member this.WithFinallyBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TryBlockSyntax
Public Function WithFinallyBlock (finallyBlock As FinallyBlockSyntax) As TryBlockSyntax

Parameters

finallyBlock
FinallyBlockSyntax

Returns

Applies to