LinkProperties.SetDnsServers(ICollection<InetAddress>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用 given LinkProperties of Collection object 取代 DNS 伺服器InetAddress。
[Android.Runtime.Register("setDnsServers", "(Ljava/util/Collection;)V", "", ApiSince=29)]
public void SetDnsServers(System.Collections.Generic.ICollection<Java.Net.InetAddress> dnsServers);
[<Android.Runtime.Register("setDnsServers", "(Ljava/util/Collection;)V", "", ApiSince=29)>]
member this.SetDnsServers : System.Collections.Generic.ICollection<Java.Net.InetAddress> -> unit
參數
- dnsServers
- ICollection<InetAddress>
Collection在此物件中設定的 DNS 伺服器。
- 屬性
備註
Java 文件 android.net.LinkProperties.setDnsServers(java.util.Collection<java.net.InetAddress>)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。