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.Int32The identifier associated with the time zone.
Return value
Type: Microsoft.SharePoint.Client.TimeZone
The time zone.