IPAddressExtensionsIsPartOf Method |
Function to test if an IP Address is part of the specified address list.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static bool IsPartOf(
this IPAddress ipAddress,
List<IPAddress> addressListToCheck
)
Parameters
- ipAddress IPAddress
- IP Address to check for.
- addressListToCheck ListIPAddress
- List of IP Addresses to check.
Return Value
Boolean'true' specified ipAddress is present in the provided list; 'false' otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPAddress. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also