PSVariable.Value 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 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.