Share via


ScriptBlockAst.Attributes Property

Definition

The asts for attributes (such as [DscLocalConfigurationManager()]) used before the scriptblock. This property is never null.

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

Property Value

Applies to