CreateInstance(WizardElement) Method
See Also 
SourceCode.Configuration Namespace > ConfigurationManager Class > CreateInstance Method : CreateInstance(WizardElement) Method



registeredWizard
The registered wizard.

Glossary Item Box

Creates the instance.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function CreateInstance( _
   ByVal registeredWizard As WizardElement _
) As IWizard
Visual Basic (Usage)Copy Code
Dim registeredWizard As WizardElement
Dim value As IWizard
 
value = ConfigurationManager.CreateInstance(registeredWizard)
C# 
public static IWizard CreateInstance( 
   WizardElement registeredWizard
)
C++/CLI 
public:
static IWizard^ CreateInstance( 
   WizardElement^ registeredWizard
) 

Parameters

registeredWizard
The registered wizard.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionwizard

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also