PowerShellCastExpressionSyntax Class
public sealed class PowerShellCastExpressionSyntax : ShellExpressionSyntaxNo documentation is available.
- Inheritance
ShellExpressionSyntaxPowerShellCastExpressionSyntax
Properties
| Name | Description |
|---|---|
| Operand | |
| Type |
Operand
Syntax.g.csType
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(PowerShellTypeLiteralSyntax, ShellExpressionSyntax) | Returns this node with the given parts, or itself when nothing changed. |
| WithOperand(ShellExpressionSyntax) | Returns this node with operand in place of its PowerShellCastExpressionSyntax.Operand. |
| WithType(PowerShellTypeLiteralSyntax) | Returns this node with type in place of its PowerShellCastExpressionSyntax.Type. |
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(PowerShellTypeLiteralSyntax, ShellExpressionSyntax)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PowerShellCastExpressionSyntax Update(PowerShellTypeLiteralSyntax type, ShellExpressionSyntax operand)WithOperand(ShellExpressionSyntax)
Syntax.g.csReturns this node with operand in place of its PowerShellCastExpressionSyntax.Operand.
public PowerShellCastExpressionSyntax WithOperand(ShellExpressionSyntax operand)WithType(PowerShellTypeLiteralSyntax)
Syntax.g.csReturns this node with type in place of its PowerShellCastExpressionSyntax.Type.
public PowerShellCastExpressionSyntax WithType(PowerShellTypeLiteralSyntax type)