Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActivityGenerator::GenerateFromModuleInfo Method (PSModuleInfo^, String^)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Generates source code for a Workflow activity by using the specified PSModuleInfo object. Introduced in Windows PowerShell 3.0.

Namespace:   Microsoft.PowerShell.Activities
Assembly:  Microsoft.PowerShell.Activities (in Microsoft.PowerShell.Activities.dll)

public:
static array<String^>^ GenerateFromModuleInfo(
	PSModuleInfo^ moduleToProcess,
	String^ activityNamespace
)

Parameters

moduleToProcess
Type: System.Management.Automation::PSModuleInfo^

The PSModuleInfo object that specifies the target module.

activityNamespace
Type: System::String^

The namesspace to use for the target classes

Return Value

Type: array<System::String^>^

An array of strings that contains code elements to compile into an assembly.

Return to top

Community Additions

Show: