SPRegionalSettings.GetTimeZoneID-Methode
Gibt die ID der Zeitzone der Website basierend auf den Einstellungen angegebene Zeitzone zurück.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetTimeZoneID ( _
tzi As SPTimeZoneInformation _
) As UShort
'Usage
Dim instance As SPRegionalSettings
Dim tzi As SPTimeZoneInformation
Dim returnValue As UShort
returnValue = instance.GetTimeZoneID(tzi)
public ushort GetTimeZoneID(
SPTimeZoneInformation tzi
)
Parameter
tzi
Typ: Microsoft.SharePoint.SPTimeZoneInformationEine SPTimeZoneInformation -Struktur, die Informationen über die Zeitzone enthält.
Rückgabewert
Typ: System.UInt16
Eine Kennung, 16-Bit-Ganzzahl ohne Vorzeichen, die die Zeitzone angibt.