Bewerken

Share via


PropertyDescriptorCollection.IndexOf(PropertyDescriptor) Method

Definition

Returns the index of the given PropertyDescriptor.

public:
 int IndexOf(System::ComponentModel::PropertyDescriptor ^ value);
public int IndexOf (System.ComponentModel.PropertyDescriptor value);
public int IndexOf (System.ComponentModel.PropertyDescriptor? value);
member this.IndexOf : System.ComponentModel.PropertyDescriptor -> int
Public Function IndexOf (value As PropertyDescriptor) As Integer

Parameters

value
PropertyDescriptor

The PropertyDescriptor to return the index of.

Returns

The index of the given PropertyDescriptor.

Applies to