AttachmentCollection.IndexOf, méthode

Obtient l'index de la pièce jointe spécifiée.

Espace de noms :  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly :  Microsoft.TeamFoundation.WorkItemTracking.Client (dans Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    attachment As Attachment _
) As Integer
public int IndexOf(
    Attachment attachment
)

Paramètres

Valeur de retour

Type : System.Int32
Index de la pièce jointe spécifiée.Retourne -1 si la pièce jointe ne se trouve pas dans cette collection.

Sécurité .NET Framework

Voir aussi

Référence

AttachmentCollection Classe

Microsoft.TeamFoundation.WorkItemTracking.Client, espace de noms