DesignerAutoFormatCollection.IndexOf(DesignerAutoFormat) Metodo

Definizione

Restituisce l'indice dell'oggetto DesignerAutoFormat specificato all'interno della raccolta.

public:
 int IndexOf(System::Web::UI::Design::DesignerAutoFormat ^ format);
public int IndexOf (System.Web.UI.Design.DesignerAutoFormat format);
member this.IndexOf : System.Web.UI.Design.DesignerAutoFormat -> int
Public Function IndexOf (format As DesignerAutoFormat) As Integer

Parametri

format
DesignerAutoFormat

Oggetto DesignerAutoFormat da individuare nella raccolta.

Restituisce

Indice in base zero della prima occorrenza di format nell'insieme; in caso contrario, -1 se il formato non è contenuto nell'insieme.

Commenti

Il IndexOf metodo determina l'uguaglianza usando il Equals metodo sugli DesignerAutoFormat oggetti confrontati.

Si applica a

Vedi anche