共用方式為


CommandAst.CommandElements Property

Definition

A non-empty collection of command elements. This property is never null.

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

Property Value

Applies to