Partilhar via


GettingValueExceptionEventArgs.ValueReplacement Property

Definition

Gets and sets the value that will serve as a replacement to the return of the GetValue method of PSObjectPropertyDescriptor. If this property is not set to a value other than null then the exception associated with this event is thrown.

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

Property Value

Applies to