StaticIpConfiguration.Builder.SetIpAddress(LinkAddress) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置静态配置中包含的 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)。