array IndexOf IPv4 subnets


I have an array of subnets like

PS C:\> $Subnet2update


I like to find the index of a subnet in the array

[array]::IndexOf($Subnet2update, but it give me always a False

What do I wrong? (PS version is 5.1 on Win10)

Is it because I'm working with IPv4 addresses?