Retrieves the index value for a specified property. The index value determines the position of the property in the container.
Returns an index value if the specified property is found in the container; otherwise returns -1.