Visual Basic (Declaration) | |
---|---|
Overloads Function RunWizard( _ ByVal parentWindow As Object, _ ByVal wizard As IPropertyWizard, _ ByVal args As WizardInitializeArgs, _ ByVal serviceProvider As IServiceProvider, _ ByVal createTransaction As Boolean, _ ByVal transactionDescription As String, _ ByVal states As WizardHostDisplayStates _ ) As WizardHostResults |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IWizardService Dim parentWindow As Object Dim wizard As IPropertyWizard Dim args As WizardInitializeArgs Dim serviceProvider As IServiceProvider Dim createTransaction As Boolean Dim transactionDescription As String Dim states As WizardHostDisplayStates Dim value As WizardHostResults value = instance.RunWizard(parentWindow, wizard, args, serviceProvider, createTransaction, transactionDescription, states) |
Parameters
- parentWindow
- wizard
- The wizard to execute
- args
- The initialization arguments of the wizard
- serviceProvider
- A service provider object. This is an object that implements the IServiceProvider interface
- createTransaction
- Creates a new transaction for the undo manager
- transactionDescription
- A description for the transaction being created. Passing a null value will create a default message
- states
- A flag whereby certain apsects of the WizardHost UI can be controlled by
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