Udostępnij za pośrednictwem


PSMemberInfo.Value Property

Definition

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.

Applies to