Dela via


NetworkInterface.Parent Property

Definition

Returns the parent NetworkInterface of this interface if this is a subinterface, or null if it is a physical (non virtual) interface or has no parent.

public Java.Net.NetworkInterface? Parent { [Android.Runtime.Register("getParent", "()Ljava/net/NetworkInterface;", "")] get; }
[<get: Android.Runtime.Register("getParent", "()Ljava/net/NetworkInterface;", "")>]
member this.Parent : Java.Net.NetworkInterface

Property Value

The NetworkInterface this interface is attached to.

Attributes

Remarks

Returns the parent NetworkInterface of this interface if this is a subinterface, or null if it is a physical (non virtual) interface or has no parent.

Added in 1.6.

Java documentation for java.net.NetworkInterface.getParent().

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