Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays an Add Item dialog in a web project implementation.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function AddNewWebProjectItemDlg ( _
itemidLoc As UInteger, _
ByRef rguidProject As Guid, _
pProject As IVsProject, _
pszDlgTitle As String, _
lpszHelpTopic As String, _
lpszLanguage As String, _
lpszSelect As String, _
options As UInteger _
) As Integer
int AddNewWebProjectItemDlg(
uint itemidLoc,
ref Guid rguidProject,
IVsProject pProject,
string pszDlgTitle,
string lpszHelpTopic,
string lpszLanguage,
string lpszSelect,
uint options
)
int AddNewWebProjectItemDlg(
[InAttribute] unsigned int itemidLoc,
[InAttribute] Guid% rguidProject,
[InAttribute] IVsProject^ pProject,
[InAttribute] String^ pszDlgTitle,
[InAttribute] String^ lpszHelpTopic,
[InAttribute] String^ lpszLanguage,
[InAttribute] String^ lpszSelect,
[InAttribute] unsigned int options
)
abstract AddNewWebProjectItemDlg :
itemidLoc:uint32 *
rguidProject:Guid byref *
pProject:IVsProject *
pszDlgTitle:string *
lpszHelpTopic:string *
lpszLanguage:string *
lpszSelect:string *
options:uint32 -> int
function AddNewWebProjectItemDlg(
itemidLoc : uint,
rguidProject : Guid,
pProject : IVsProject,
pszDlgTitle : String,
lpszHelpTopic : String,
lpszLanguage : String,
lpszSelect : String,
options : uint
) : int
Parameters
- itemidLoc
Type: System.UInt32
[in] Hierarchy tem to add the dialog to. A VSITEMID uniquely identifies a node within an IVsHierarchy.
- rguidProject
Type: System.Guid%
[in] The GUID of project.
- pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject
[in] The project's IVsProject interface.
- pszDlgTitle
Type: System.String
[in] Dialog box caption (can be nulla null reference (Nothing in Visual Basic)).
- lpszHelpTopic
Type: System.String
[in] Name of help topic to use for the dialog.
- lpszLanguage
Type: System.String
[in] Directory (language) to select by default.
- lpszSelect
Type: System.String
[in] Item to select.
- options
Type: System.UInt32
[in] Options to set on the dialog box. Bit array using flag values from __VSADDNEWWEBITEMOPTIONS.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsAddNewWebProjectItemDlg::AddNewWebProjectItemDlg(
[in] VSITEMID itemidLoc,
[in] REFGUID rguidProject,
[in] IVsProject *pProject,
[in] LPCOLESTR pszDlgTitle,
[in] LPCOLESTR lpszHelpTopic,
[in] LPCOLESTR lpszLanguage,
[in] LPCOLESTR lpszSelect,
[in] VSADDNEWWEBITEMOPTIONS options
;
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.