共用方式為


SVsAddProjectItemDlg Interface

Passed to GetService to return a reference to IVsAddProjectItemDlg.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
<GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")> _
<GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")> _
<ComVisibleAttribute(False)> _
Public Interface SVsAddProjectItemDlg
'用途
Dim instance As SVsAddProjectItemDlg
[GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")]
[GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")]
[ComVisibleAttribute(false)]
public interface SVsAddProjectItemDlg
[GuidAttribute(L"11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")]
[GuidAttribute(L"11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")]
[ComVisibleAttribute(false)]
public interface class SVsAddProjectItemDlg
[<GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")>]
[<GuidAttribute("11DFCCEB-D935-4a9f-9796-5BA433C5AF8E")>]
[<ComVisibleAttribute(false)>]
type SVsAddProjectItemDlg =  interface end
public interface SVsAddProjectItemDlg

Remarks

Used by projects to implement their command handlers for the AddItem command as well as other Add commands. These individual Add commands bring up the same dialog as the AddItem command except that the tree control in the left pane is expanded to the correct folder.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace