Udostępnij za pośrednictwem


PSScriptProperty.Value Property

Definition

Gets and Sets the value of this property.

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 override object Value { get; set; }
member this.Value : obj with get, set
Public Overrides Property Value As Object

Property Value

Exceptions

When getting and there is no getter, when the getter throws an exception or when there is no Runspace to run the script.

When setting and there is no setter, when the setter throws an exception or when there is no Runspace to run the script.

Applies to