语言

StaticIpConfiguration.Builder.SetIpAddress(LinkAddress) 方法

定义

设置静态配置中包含的 IP 地址。

[Android.Runtime.Register("setIpAddress", "(Landroid/net/LinkAddress;)Landroid/net/StaticIpConfiguration$Builder;", "", ApiSince=33)]
public Android.Net.StaticIpConfiguration.Builder SetIpAddress(Android.Net.LinkAddress ipAddress);
[<Android.Runtime.Register("setIpAddress", "(Landroid/net/LinkAddress;)Landroid/net/StaticIpConfiguration$Builder;", "", ApiSince=33)>]
member this.SetIpAddress : Android.Net.LinkAddress -> Android.Net.StaticIpConfiguration.Builder

参数

ipAddress
LinkAddress

要包括在配置的 IPv4 链接地址。

返回

此生成器。

特性

注解

Java文档android.net.StaticIpConfiguration.Builder.setIpAddress(android.net.LinkAddress)。

适用于