Share via


WebSiteProperties.StartProgram Property

 

Gets or sets the path and file name of an executable file to run when starting the Web site.

Namespace:   VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

string StartProgram { get; set; }
property String^ StartProgram {
    String^ get();
    void set(String^ value);
}
abstract StartProgram : string with get, set
Property StartProgram As String

Property Value

Type: System.String

The path and file name for the executable file to run when starting the Web site.

Remarks

The StartProgram value is used only when the value of the StartAction property is webStartActionProgram.

This property does not include any arguments, but you can set arguments with the StartArguments property.

Examples

For an example of reading and setting late-bound properties, see WebSiteProperties.

See Also

StartArguments
EnvDTE
WebSiteProperties
VsWebSite Namespace
Referencing Automation Assemblies and the DTE2 Object

Return to top