Condividi tramite


NsdServiceInfo.Port Property

Definition

Get port number. -or- Set port number

public int Port { [Android.Runtime.Register("getPort", "()I", "")] get; [Android.Runtime.Register("setPort", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getPort", "()I", "")>]
[<set: Android.Runtime.Register("setPort", "(I)V", "")>]
member this.Port : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Java documentation for android.net.nsd.NsdServiceInfo.getPort().

Property setter documentation:

Java documentation for android.net.nsd.NsdServiceInfo.setPort(int).

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