EventDescriptorCollection.IList.IndexOf(Object) Método

Definición

Determina el índice de un elemento específico de la colección.

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
int IList.IndexOf (object? value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

Parámetros

value
Object

Object que se va a buscar en la colección.

Devoluciones

Devuelve el índice de value si se encuentra en la lista; de lo contrario, devuelve -1.

Implementaciones

Comentarios

Nota

El HostProtectionAttribute atributo aplicado a esta clase tiene el siguiente Resources valor de propiedad: Synchronization. El atributo HostProtectionAttribute no afecta a las aplicaciones de escritorio (que normalmente se inician haciendo doble clic en un icono, escribiendo un comando o introduciendo una dirección URL en el explorador). Para obtener más información, vea la HostProtectionAttribute clase o SQL Server Atributos de programación y protección de host.

Se aplica a