PSMemberInfo.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 and Sets the value of this member.
public:
abstract property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public:
abstract property Platform::Object ^ Value { Platform::Object ^ get(); void set(Platform::Object ^ value); };
public abstract object Value { get; set; }
member this.Value : obj with get, set
Public MustOverride Property Value As Object
Property Value
Exceptions
When getting the value of a property throws an exception. This exception is also thrown if the property is an PSScriptProperty and there is no Runspace to run the script.
When setting the value of a property throws an exception. This exception is also thrown if the property is an PSScriptProperty and there is no Runspace to run the script.
When some problem other then getting/setting the value happened.