PowerShellFinallyClauseSyntax Class
public sealed class PowerShellFinallyClauseSyntax : ShellSyntaxNodeNo documentation is available.
- Inheritance
ShellSyntaxNodePowerShellFinallyClauseSyntax
Properties
| Name | Description |
|---|---|
| Body | |
| FinallyKeyword |
Body
Syntax.g.csFinallyKeyword
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, PowerShellScriptBlockSyntax) | Returns this node with the given parts, or itself when nothing changed. |
| WithBody(PowerShellScriptBlockSyntax) | Returns this node with body in place of its PowerShellFinallyClauseSyntax.Body. |
| WithFinallyKeyword(SyntaxToken) | Returns this node with finallyKeyword in place of its PowerShellFinallyClauseSyntax.FinallyKeyword. |
Accept overloads
Accept(ShellSyntaxVisitor)
Syntax.g.cspublic override void Accept(ShellSyntaxVisitor visitor)Parameters
visitorShellSyntaxVisitor
No documentation is available.
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Syntax.g.cspublic override TResult? Accept<TResult>(ShellSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken, PowerShellScriptBlockSyntax)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PowerShellFinallyClauseSyntax Update(SyntaxToken finallyKeyword, PowerShellScriptBlockSyntax body)WithBody(PowerShellScriptBlockSyntax)
Syntax.g.csReturns this node with body in place of its PowerShellFinallyClauseSyntax.Body.
public PowerShellFinallyClauseSyntax WithBody(PowerShellScriptBlockSyntax body)WithFinallyKeyword(SyntaxToken)
Syntax.g.csReturns this node with finallyKeyword in place of its PowerShellFinallyClauseSyntax.FinallyKeyword.
public PowerShellFinallyClauseSyntax WithFinallyKeyword(SyntaxToken finallyKeyword)