다음을 통해 공유


IpPrefix.Contains(InetAddress) Method

Definition

Determines whether the prefix contains the specified address.

[Android.Runtime.Register("contains", "(Ljava/net/InetAddress;)Z", "", ApiSince=23)]
public bool Contains (Java.Net.InetAddress address);
[<Android.Runtime.Register("contains", "(Ljava/net/InetAddress;)Z", "", ApiSince=23)>]
member this.Contains : Java.Net.InetAddress -> bool

Parameters

address
InetAddress

An InetAddress to test.

Returns

true if the prefix covers the given address. false otherwise.

Attributes

Remarks

Determines whether the prefix contains the specified address.

Java documentation for android.net.IpPrefix.contains(java.net.InetAddress).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to