TaskLauncher.ProjOpenFile Method

Applies to: SharePoint Foundation 2010

Opens one or more projects.

ProjOpenFile(
             string projNames,
             int numProjects,
             bool openReadOnly
            )

Parameters

projNames

Type: String

A list of project names. The list separator is the current value of the ListSeparator property.

numProjects

Type: Int32

The number of projects in the list.

openReadOnly

Type: Boolean

true to open the files as read-only; otherwise false.

Return Value

Type: Int32

If the call is successful, the method returns S_OK. Otherwise, it returns an error code, such as E_FAIL. For more information, see the VSConstants class.