ScriptBlockAst.UsingStatements Property

Definition

The asts for any using statements. This property is never null. Elements of the collection are instances of either UsingStatementAst or (only in error cases) ErrorStatementAst.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::UsingStatementAst ^> ^ UsingStatements { System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::Language::UsingStatementAst ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.UsingStatementAst> UsingStatements { get; }
member this.UsingStatements : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.Language.UsingStatementAst>
Public ReadOnly Property UsingStatements As ReadOnlyCollection(Of UsingStatementAst)

Property Value

Applies to