ScriptBlockAst.Attributes 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.
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)