ArgumentTransformationAttribute.Transform(EngineIntrinsics, Object) ArgumentTransformationAttribute.Transform(EngineIntrinsics, Object) ArgumentTransformationAttribute.Transform(EngineIntrinsics, Object) Method

Definition

Method that will be overridden by the subclasses to transform the inputData parameter argument into some other object that will be used for the parameter's value.

public:
 abstract System::Object ^ Transform(System::Management::Automation::EngineIntrinsics ^ engineIntrinsics, System::Object ^ inputData);
public abstract object Transform (System.Management.Automation.EngineIntrinsics engineIntrinsics, object inputData);
abstract member Transform : System.Management.Automation.EngineIntrinsics * obj -> obj
Parameters
engineIntrinsics
EngineIntrinsics EngineIntrinsics EngineIntrinsics

The engine APIs for the context under which the transformation is being made.

inputData
Object Object Object

parameter argument to mutate

Returns

mutated object(s)

Exceptions

Remarks

Return the transformed value of inputData. Throw ArgumentException if the value of inputData is invalid, and throw ArgumentTransformationMetadataException for other recoverable errors.

Applies to