PropertyDescriptorCollection.IndexOf Method (PropertyDescriptor)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the index of the given PropertyDescriptor.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public int IndexOf(
	PropertyDescriptor value
)

Parameters

value
Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor to return the index of.

Return Value

Type: System.Int32

The index of the given PropertyDescriptor.

.NET Framework
Available since 1.1
Return to top
Show: