Partager via


PSVariable.Attributes Property

Definition

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.

Applies to