KnownPropertyList.IndexOf

IndexOf(PropertyDescriptor)

Determines the index of a specific item in the System.Collections.Generic.IList.

public int IndexOf(PropertyDescriptor item)
ParameterTypeDescription
itemPropertyDescriptorThe object to locate in the System.Collections.Generic.IList.

Return Value

The index of item if found in the list; otherwise, -1.

See Also


IndexOf(string)

Determines the index of a specific item in the System.Collections.Generic.IList.

public int IndexOf(string name)
ParameterTypeDescription
nameStringThe name used to refer to the property.

Return Value

The index of item if found in the list; otherwise, -1.

See Also