PSParameterizedProperty.Invoke(Object[]) Method

Definition

Invokes the getter method and returns its result.

public:
 override System::Object ^ Invoke(... cli::array <System::Object ^> ^ arguments);
public override object Invoke (params object[] arguments);
override this.Invoke : obj[] -> obj
Public Overrides Function Invoke (ParamArray arguments As Object()) As Object

Parameters

arguments
Object[]

Arguments to the method.

Returns

Return value from the method.

Exceptions

If arguments is null.

When getting the value of a property throws an exception.

Applies to