Edit

Share via


DirectoryAttribute.IndexOf(Object) Method

Definition

The IndexOf(Object) method returns the zero-based index of the first occurrence of the specified Object in the DirectoryAttribute collection.

public:
 int IndexOf(System::Object ^ value);
public int IndexOf (object value);
member this.IndexOf : obj -> int
Public Function IndexOf (value As Object) As Integer

Parameters

value
Object

The Object for which the value is returned.

Returns

The index value of the specified Object, if found; otherwise, -1.

Applies to