SPTimeZoneCollection.Item property
Gets the time zone object at the specified index in the collection. In Microsoft Visual C#, this property is the indexer for the SPTimeZoneCollection class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPTimeZone
Get
'Usage
Dim instance As SPTimeZoneCollection
Dim index As Integer
Dim value As SPTimeZone
value = instance(index)
public SPTimeZone this[
int index
] { get; }
Parameters
index
Type: System.Int32A 32-bit integer that specifies the index.
Property value
Type: Microsoft.SharePoint.SPTimeZone
A Microsoft.SharePoint.SPTimeZone object that represents the time zone.