DirectoryAttributeModificationCollection.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The IndexOf(DirectoryAttributeModification) method returns the zero-based index of the first occurrence of the specified DirectoryAttributeModification object in the DirectoryAttributeModificationCollection.
public:
int IndexOf(System::DirectoryServices::Protocols::DirectoryAttributeModification ^ value);
public int IndexOf (System.DirectoryServices.Protocols.DirectoryAttributeModification value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryAttributeModification -> int
Public Function IndexOf (value As DirectoryAttributeModification) As Integer
Parameters
The DirectoryAttributeModificationCollection object for which the index is returned.
Returns
The index value of the specified DirectoryAttributeModification object, if found; otherwise, -1.