Partager via


SPTimeZoneCollection.Item - Propriété

Obtient l'objet de fuseau horaire à l'index spécifié dans la collection. Dans Microsoft Visual C#, cette propriété est l'indexeur pour la classe SPTimeZoneCollection .

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

Syntaxe

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

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

Paramètres

  • index
    Type : System.Int32

    Un entier 32 bits qui indique l'index.

Valeur de propriété

Type : Microsoft.SharePoint.SPTimeZone
Un objet Microsoft.SharePoint.SPTimeZone qui représente le fuseau horaire.

Voir aussi

Référence

SPTimeZoneCollection classe

SPTimeZoneCollection - Membres

Microsoft.SharePoint - Espace de noms