Dela via


NetworkInterface.IsVirtual Property

Definition

Returns whether this interface is a virtual interface (also called subinterface).

public bool IsVirtual { [Android.Runtime.Register("isVirtual", "()Z", "")] get; }
[<get: Android.Runtime.Register("isVirtual", "()Z", "")>]
member this.IsVirtual : bool

Property Value

true if this interface is a virtual interface.

Attributes

Remarks

Returns whether this interface is a virtual interface (also called subinterface). Virtual interfaces are, on some systems, interfaces created as a child of a physical interface and given different settings (like address or MTU). Usually the name of the interface will the name of the parent followed by a colon (:) and a number identifying the child since there can be several virtual interfaces attached to a single physical interface.

Added in 1.6.

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

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