SPFormCollection.Item - Propriété (Int32)
Obtient l'objet de formulaire à l'index spécifié dans la collection. En C#, cette propriété est un indexeur pour la classe SPFormCollection .
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
iIndex As Integer _
) As SPForm
Get
'Utilisation
Dim instance As SPFormCollection
Dim iIndex As Integer
Dim value As SPForm
value = instance(iIndex)
public SPForm this[
int iIndex
] { get; }
Paramètres
iIndex
Type : System.Int32Un entier 32 bits qui indique l'index.
Valeur de propriété
Type : Microsoft.SharePoint.SPForm
Un objet Microsoft.SharePoint.SPForm qui représente le formulaire.
Remarques
La propriété Item lève une ArgumentOutOfRangeException si l'index spécifié est en dehors de la plage valide des index pour la collection.