Transform
The
Transform()
method converts the input object into one or more matching LinkKind enums, raising an exception if the input can’t be converted.less than a minute
Overloads
Transform(EngineIntrinsics, Object)
- Converts the input object into one or more matching LinkKind enums, raising an exception if the input can’t be converted.
Transform(EngineIntrinsics, Object)
Converts the input object into one or more matching LinkKind enums, raising an exception if the input can’t be converted.
[LinkKindTransformAttribute] Transform(
[EngineIntrinsics] $engineIntrinsics,
[Object] $inputData
)
Parameters
engineIntrinsics
The PowerShell engine APIs for the context under which the prerequisite is being evaluated.
inputData
The value of the argument to transform into one or more LinkKind enums. When this value
is a a LinkKind, that value is passed through. When this value is a string, the value is
compared to the list of valid LinkKind enums with the -like
operator and returns every
value that matches the input string.
Exceptions
system.Management.Automation.ArgumentTransformationMetadataException
Transform raises this exception when the input data is not a LinkKind or a string that matches at least one LinkKind.
Last modified March 3, 2023: (MAINT) Rename Source folder to Projects (8b45aed)