Partager via


PSVariable.Value Property

Definition

Gets or sets the value of the variable.

public:
 virtual property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public:
 virtual property Platform::Object ^ Value { Platform::Object ^ get(); void set(Platform::Object ^ value); };
public virtual object Value { get; set; }
member this.Value : obj with get, set
Public Overridable Property Value As Object

Property Value

Exceptions

If the variable is read-only or constant upon call to set.

value is not valid according to one or more of the attributes of this shell variable.

Applies to