共用方式為


LinkProperties.InterfaceName Property

Definition

Gets the interface name for this link. -or- Sets the interface name for this link.

public string? InterfaceName { [Android.Runtime.Register("getInterfaceName", "()Ljava/lang/String;", "")] get; [Android.Runtime.Register("setInterfaceName", "(Ljava/lang/String;)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getInterfaceName", "()Ljava/lang/String;", "")>]
[<set: Android.Runtime.Register("setInterfaceName", "(Ljava/lang/String;)V", "", ApiSince=29)>]
member this.InterfaceName : string with get, set

Property Value

The interface name set for this link or null.

Attributes

Remarks

Property getter documentation:

Gets the interface name for this link. May be null if not set.

Java documentation for android.net.LinkProperties.getInterfaceName().

Property setter documentation:

Sets the interface name for this link. All RouteInfo already set for this will have their interface changed to match this new value.

Java documentation for android.net.LinkProperties.setInterfaceName(java.lang.String).

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