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

'Declaration
Property StartProgram As String
    Get
    Set
string StartProgram { get; set; }
property String^ StartProgram {
    String^ get ();
    void set (String^ value);
}
abstract StartProgram : string with get, set
function get StartProgram () : String
function set StartProgram (value : 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.

.NET Framework Security

See Also

Reference

WebSiteProperties Interface

VsWebSite Namespace

StartArguments

EnvDTE

WebSiteProperties

Other Resources

Referencing Automation Assemblies and the DTE2 Object