Share via


StringExpandableToken.NestedTokens Property

Definition

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)

Property Value

Applies to