Visual Basic (Declaration) | |
---|---|
Overloads Function RunWizards( _ ByVal parentHandle As IntPtr, _ ByVal wizards As List(Of IPropertyWizard), _ ByVal args As List(Of WizardInitializeArgs), _ ByVal serviceProvider As IServiceProvider, _ ByVal createTransaction As Boolean, _ ByVal transactionDescription As String _ ) As WizardHostResults |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IWizardService Dim parentHandle As IntPtr Dim wizards As List(Of IPropertyWizard) Dim args As List(Of WizardInitializeArgs) Dim serviceProvider As IServiceProvider Dim createTransaction As Boolean Dim transactionDescription As String Dim value As WizardHostResults value = instance.RunWizards(parentHandle, wizards, args, serviceProvider, createTransaction, transactionDescription) |
Parameters
- parentHandle
- Handle of the container object
- wizards
- args
- A list of initialization arguments for each corrosponding wizard. (Should be the same size as the wizards parameter)
- 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
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