Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Controls options for the Create New Project dialog box.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function CreateNewProjectViaDlg ( _
pszExpand As String, _
pszSelect As String, _
dwReserved As UInteger _
) As Integer
'Usage
Dim instance As IVsSolution
Dim pszExpand As String
Dim pszSelect As String
Dim dwReserved As UInteger
Dim returnValue As Integer
returnValue = instance.CreateNewProjectViaDlg(pszExpand, _
pszSelect, dwReserved)
int CreateNewProjectViaDlg(
string pszExpand,
string pszSelect,
uint dwReserved
)
int CreateNewProjectViaDlg(
[InAttribute] String^ pszExpand,
[InAttribute] String^ pszSelect,
[InAttribute] unsigned int dwReserved
)
abstract CreateNewProjectViaDlg :
pszExpand:string *
pszSelect:string *
dwReserved:uint32 -> int
function CreateNewProjectViaDlg(
pszExpand : String,
pszSelect : String,
dwReserved : uint
) : int
Parameters
- pszExpand
Type: System.String
[in] Tree view node that is selected.
- pszSelect
Type: System.String
[in] List view item that is selected.
- dwReserved
Type: System.UInt32
[in] Reserved for future use.
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 vsshell.idl:
HRESULT IVsSolution::CreateNewProjectViaDlg(
[in] LPCOLESTR pszExpand,
[in] LPCOLESTR pszSelect,
[in] DWORD dwReserved
);
This method brings up the New Project dialog box with the specified tree view node and list view item selected. Use this method to create a new project.
.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.