ProjectNode.RunWizard Method

Executes the supplied wizard against the supplied node.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function RunWizard ( _
    parentNode As HierarchyNode, _
    itemName As String, _
    wizardToRun As String, _
    dlgOwner As IntPtr _
) As VSADDRESULT
'使用
Dim instance As ProjectNode
Dim parentNode As HierarchyNode
Dim itemName As String
Dim wizardToRun As String
Dim dlgOwner As IntPtr
Dim returnValue As VSADDRESULT

returnValue = instance.RunWizard(parentNode, _
    itemName, wizardToRun, dlgOwner)
public virtual VSADDRESULT RunWizard(
    HierarchyNode parentNode,
    string itemName,
    string wizardToRun,
    IntPtr dlgOwner
)
public:
virtual VSADDRESULT RunWizard(
    HierarchyNode^ parentNode, 
    String^ itemName, 
    String^ wizardToRun, 
    IntPtr dlgOwner
)
public function RunWizard(
    parentNode : HierarchyNode, 
    itemName : String, 
    wizardToRun : String, 
    dlgOwner : IntPtr
) : VSADDRESULT

Parameters

  • itemName
    Type: System.String

    The name of the file supplied by the user.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.VSADDRESULT

ADDRESULT_Success() if the wizard was successful, ADDRESULT_Failure() if it failed, ADDRESULT_Cancel() if it was canceled.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace