Share via


SPWorkItemCollection.Item - Propriété (Int32)

Obtient un objet spécifique de SPWorkItem dans la collection par son index dans la collection.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPWorkItem
    Get
'Utilisation
Dim instance As SPWorkItemCollection
Dim index As Integer
Dim value As SPWorkItem

value = instance(index)
public SPWorkItem this[
    int index
] { get; }

Paramètres

  • index
    Type : System.Int32

    Nombre entier spécifiant la position de l'objet spécifié SPWorkItem dans la collection.

Valeur de propriété

Type : Microsoft.SharePoint.SPWorkItem
Retourne un entier spécifiant la position de l'objet index.

Voir aussi

Référence

SPWorkItemCollection classe

SPWorkItemCollection - Membres

Item - Surcharge

Microsoft.SharePoint - Espace de noms