PSVariable.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.
Gets the collection that contains the attributes for the variable.
public:
property System::Collections::ObjectModel::Collection<Attribute ^> ^ Attributes { System::Collections::ObjectModel::Collection<Attribute ^> ^ get(); };
public System.Collections.ObjectModel.Collection<Attribute> Attributes { get; }
member this.Attributes : System.Collections.ObjectModel.Collection<Attribute>
Public ReadOnly Property Attributes As Collection(Of Attribute)
Property Value
Remarks
To add or remove attributes, get the collection and then add or remove attributes to that collection.