Share via


PSParameterizedProperty.InvokeSet(Object, Object[]) Method

Definition

Invokes the setter method.

public:
 void InvokeSet(System::Object ^ valueToSet, ... cli::array <System::Object ^> ^ arguments);
public void InvokeSet (object valueToSet, params object[] arguments);
member this.InvokeSet : obj * obj[] -> unit
Public Sub InvokeSet (valueToSet As Object, ParamArray arguments As Object())

Parameters

valueToSet
Object

Value to set this property with.

arguments
Object[]

Arguments to the method.

Exceptions

If arguments is null.

When setting the value of a property throws an exception.

Applies to