URI.Port URI.Port Property


Returns the port number of this URI, or -1 if this URI has no explicit port.

[get: Android.Runtime.Register("getPort", "()I", "GetGetPortHandler")]
public int Port { get; }
member this.Port : int

Property Value


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to