Share via


WebSiteProperties.VsWebServerPort Property

Definition

Gets or sets the current port number for the ASP.NET Development Server.

public:
 property System::UInt16 VsWebServerPort { System::UInt16 get(); void set(System::UInt16 value); };
[System.Runtime.InteropServices.DispId(1008)]
public ushort VsWebServerPort { [System.Runtime.InteropServices.DispId(1008)] get; [System.Runtime.InteropServices.DispId(1008)] set; }
[<System.Runtime.InteropServices.DispId(1008)>]
[<get: System.Runtime.InteropServices.DispId(1008)>]
[<set: System.Runtime.InteropServices.DispId(1008)>]
member this.VsWebServerPort : uint16 with get, set
Public Property VsWebServerPort As UShort

Property Value

The current port number for the Web server if the Web site is configured to use the ASP.NET Development Server and if the EnableVsWebServer property is true; otherwise, 0 (zero).

Attributes

Applies to