Share via


TimeZoneCollection.GetById method

Retrieves a time zone from the collection using the specified identifier.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetById ( _
    id As Integer _
) As TimeZone
'Usage
Dim instance As TimeZoneCollection
Dim id As Integer
Dim returnValue As TimeZone

returnValue = instance.GetById(id)
public TimeZone GetById(
    int id
)

Parameters

  • id
    Type: System.Int32

    The identifier associated with the time zone.

Return value

Type: Microsoft.SharePoint.Client.TimeZone
The time zone.

See also

Reference

TimeZoneCollection class

TimeZoneCollection members

Microsoft.SharePoint.Client namespace