Share via


StartOptions.Port Property

Gets or sets the port to listen on.

Namespace:  Microsoft.Owin.Hosting
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Syntax

'Declaration
Public Property Port As Nullable(Of Integer)
    Get 
    Set
'Usage
Dim instance As StartOptions 
Dim value As Nullable(Of Integer)

value = instance.Port

instance.Port = value
public Nullable<int> Port { get; set; }
public:
property Nullable<int> Port {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
member Port : Nullable<int> with get, set
function get Port () : Nullable<int>
function set Port (value : Nullable<int>)

Property Value

Type: System.Nullable<Int32>
The port to listen on.

See Also

Reference

StartOptions Class

Microsoft.Owin.Hosting Namespace