This documentation is archived and is not being maintained.

StartupProjects Property

Visual Studio .NET 2003

Sets or returns the project objects that are the entry points for the application.

[Visual Basic .NET]
Public Property StartupProjects() As Object
[Visual Basic 6]
Property Get StartupProjects() As Variant
Property Let StartupProjects( _
   ByVal NewValue As Variant _
HRESULT __stdcall get_StartupProjects(
   /* [out, retval] */ VARIANT* retVal
HRESULT __stdcall put_StartupProjects(
   /* [in] */ VARIANT NewValue
public object StartupProjects {get; set;}
[JScript .NET]
public function get StartupProjects() : Object
public function set StartupProjects(
   NewValue : Object


Required. The project objects to serve as the entry points for the application.


StartupProjects contains a list of projects that "start" when the Run command is issued. Each project and language defines what starting means as well as what occurs when a project is started. For example, a Visual C++ project starts by executing the main() function, and Visual Basic executes Sub Main() or a startup form. Other projects and languages use a project property for a class or function name, while others use an interface that must be implemented, and so on.

See Also

Applies To: SolutionBuild Object