PowerShellUsingStatementSyntax Class
public sealed class PowerShellUsingStatementSyntax : ShellStatementSyntaxNo documentation is available.
- Inheritance
ShellStatementSyntaxPowerShellUsingStatementSyntax
Properties
| Name | Description |
|---|---|
| KindToken | |
| Target | |
| UsingKeyword |
KindToken
Syntax.g.csTarget
Syntax.g.csUsingKeyword
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SyntaxToken, ShellSyntaxNode) | Returns this node with the given parts, or itself when nothing changed. |
| WithKindToken(SyntaxToken) | Returns this node with kindToken in place of its PowerShellUsingStatementSyntax.KindToken. |
| WithTarget(ShellSyntaxNode) | Returns this node with target in place of its PowerShellUsingStatementSyntax.Target. |
| WithUsingKeyword(SyntaxToken) | Returns this node with usingKeyword in place of its PowerShellUsingStatementSyntax.UsingKeyword. |
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, SyntaxToken, ShellSyntaxNode)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PowerShellUsingStatementSyntax Update(SyntaxToken usingKeyword, SyntaxToken kindToken, ShellSyntaxNode target)WithKindToken(SyntaxToken)
Syntax.g.csReturns this node with kindToken in place of its PowerShellUsingStatementSyntax.KindToken.
public PowerShellUsingStatementSyntax WithKindToken(SyntaxToken kindToken)WithTarget(ShellSyntaxNode)
Syntax.g.csReturns this node with target in place of its PowerShellUsingStatementSyntax.Target.
public PowerShellUsingStatementSyntax WithTarget(ShellSyntaxNode target)WithUsingKeyword(SyntaxToken)
Syntax.g.csReturns this node with usingKeyword in place of its PowerShellUsingStatementSyntax.UsingKeyword.
public PowerShellUsingStatementSyntax WithUsingKeyword(SyntaxToken usingKeyword)