PowerShellValue<T> Class

Definition

Evaluate the Powershell expression and return the value of type T.

generic <typename T>
public ref class PowerShellValue sealed : System::Activities::NativeActivity<T>
public sealed class PowerShellValue<T> : System.Activities.NativeActivity<T>
type PowerShellValue<'T> = class
    inherit NativeActivity<'T>
Public NotInheritable Class PowerShellValue(Of T)
Inherits NativeActivity(Of T)

Type Parameters

T
Inheritance
PowerShellValue<T>

Constructors

PowerShellValue<T>()

Properties

Expression

The PowerShell expression, which will be evaluated and retuned a type of T value.

UseDefaultInput

Determines whether to connect the input stream for this activity.

Methods

ValidateExpressionConstraints(IEnumerable<String>, IEnumerable<String>, Boolean)

Check to see if the expression only uses elements of the restricted language as well as only using the allowed commands and variables.

Applies to