WebSiteProperties.EnableVsWebServerDynamicPort Property

 

Gets or sets whether the ASP.NET Development Server uses a dynamic port for access.

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

Syntax

bool EnableVsWebServerDynamicPort { get; set; }
property bool EnableVsWebServerDynamicPort {
    bool get();
    void set(bool value);
}
abstract EnableVsWebServerDynamicPort : bool with get, set
Property EnableVsWebServerDynamicPort As Boolean

Property Value

Type: System.Boolean

true if ASP.NET Development Server uses a dynamic port; otherwise false.

Examples

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

See Also

EnvDTE
WebSiteProperties
VsWebSite Namespace
Referencing Automation Assemblies and the DTE2 Object
Web Servers in Visual Studio for ASP.NET Web Projects

Return to top