Share via


SPUserCodePropertyCollection.Item - Propriété (Int32)

Obtient ou définit l'objet de propriété à l'index spécifié dans la collection.

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

Syntaxe

'Déclaration
Public Default Property Item ( _
    index As Integer _
) As SPUserCodeProperty
    Get
    Set
'Utilisation
Dim instance As SPUserCodePropertyCollection
Dim index As Integer
Dim value As SPUserCodeProperty

value = instance(index)

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

Paramètres

  • index
    Type : System.Int32

    Index de base zéro de l'objet property.

Valeur de propriété

Type : Microsoft.SharePoint.WebPartPages.SPUserCodeProperty
L'objet de propriété à l'index spécifié de la collection.

Voir aussi

Référence

SPUserCodePropertyCollection classe

SPUserCodePropertyCollection - Membres

Item - Surcharge

Microsoft.SharePoint.WebPartPages - Espace de noms