Share via


WebSiteProperties.StartPage Property

Gets or sets the name of the page to use when starting the Web site.

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

Syntax

'Declaration
Property StartPage As String
    Get
    Set
string StartPage { get; set; }
property String^ StartPage {
    String^ get ();
    void set (String^ value);
}
abstract StartPage : string with get, set
function get StartPage () : String
function set StartPage (value : String)

Property Value

Type: System.String
The name of the starting page for the Web site.

Remarks

The StartPage property is used only when the StartAction property is set with the webStartActionSpecificPage value

Examples

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

.NET Framework Security

See Also

Reference

WebSiteProperties Interface

VsWebSite Namespace

EnvDTE

WebSiteProperties

Other Resources

Referencing Automation Assemblies and the DTE2 Object