StaticIpConfiguration.Builder.SetDnsServers(IIterable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the DNS servers included in the static configuration.
[Android.Runtime.Register("setDnsServers", "(Ljava/lang/Iterable;)Landroid/net/StaticIpConfiguration$Builder;", "", ApiSince=33)]
public Android.Net.StaticIpConfiguration.Builder SetDnsServers(Java.Lang.IIterable dnsServers);
[<Android.Runtime.Register("setDnsServers", "(Ljava/lang/Iterable;)Landroid/net/StaticIpConfiguration$Builder;", "", ApiSince=33)>]
member this.SetDnsServers : Java.Lang.IIterable -> Android.Net.StaticIpConfiguration.Builder
Parameters
- dnsServers
- IIterable
A non-null iterable of DNS server addresses. An empty iterable clears the DNS server list, which is empty by default.
Returns
This builder.
- Attributes
Remarks
Java documentation for android.net.StaticIpConfiguration.Builder.setDnsServers(java.lang.Iterable).