IndexOf

KnownPropertyList.IndexOf method (1 of 2)

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

public int IndexOf(PropertyDescriptor item)
Parameter Type Description
item PropertyDescriptor The object to locate in the System.Collections.Generic.IList.

Return Value

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

See Also


KnownPropertyList.IndexOf method (2 of 2)

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

public int IndexOf(string name)
Parameter Type Description
name String The name used to refer to the property.

Return Value

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

See Also