PSParser.Tokenize Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Parses a script into a collection of tokens. The variants of this method accept a script as a string or an array of lines. This method is introduced in Windows PowerShell 2.0.
PSParser Members
System.Management.Automation Namespace
| Name | Description |
|---|---|
| PSParser.Tokenize (Object[], out Generic Collection) | Parses a script, as an array of lines, into a collection of tokens. This method is introduced in Windows PowerShell 2.0. |
| PSParser.Tokenize (String, out Generic Collection) | Parses a script into a collection of tokens. This method is introduced in Windows PowerShell 2.0. |
Reference
PSParser ClassPSParser Members
System.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.