使用指定的标识符从集合中检索时区。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Function GetById ( _
id As Integer _
) As TimeZone
用法
Dim instance As TimeZoneCollection
Dim id As Integer
Dim returnValue As TimeZone
returnValue = instance.GetById(id)
public TimeZone GetById(
int id
)
参数
id
类型:System.Int32与时区关联的标识符。
返回值
类型:Microsoft.SharePoint.Client.TimeZone
时区。