StringExpandableToken.NestedTokens Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This collection holds any tokens from variable references and sub-expressions within the string. For example: "In $([DateTime]::Now.Year - $age), $name was born" has a nested expression with a sequence of tokens, plus the variable reference $name.
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::Token ^> ^ NestedTokens { System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::Token ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.Token> NestedTokens { get; }
member this.NestedTokens : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.Token>
Public ReadOnly Property NestedTokens As ReadOnlyCollection(Of Token)