InetAddress.HostAddress 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回文本演示文稿中的 IP 地址字符串。
public virtual string? HostAddress { [Android.Runtime.Register("getHostAddress", "()Ljava/lang/String;", "GetGetHostAddressHandler")] get; }
[<get: Android.Runtime.Register("getHostAddress", "()Ljava/lang/String;", "GetGetHostAddressHandler")>]
member this.HostAddress : string
属性值
字符串格式的原始 IP 地址。
- 属性
注解
返回文本演示文稿中的 IP 地址字符串。
在 JDK1.0.2 中添加。
Java文档java.net.InetAddress.getHostAddress()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。