Share via


SPRegionalSettings.GetTimeZoneIDByKeyName - Méthode

Retourne un id de fuseau horaire sharepoint qui correspond à un ID de fuseau horaire Windows donné Tzids de Windows sont des sous-clés dans la branche du Registre HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zones.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Function GetTimeZoneIDByKeyName ( _
    keyName As String _
) As UShort
'Utilisation
Dim keyName As String
Dim returnValue As UShort

returnValue = SPRegionalSettings.GetTimeZoneIDByKeyName(keyName)
public static ushort GetTimeZoneIDByKeyName(
    string keyName
)

Paramètres

Valeur renvoyée

Type : System.UInt16
ID de fuseau horaire SharePoint correspondant à la tzid Windows

Voir aussi

Référence

SPRegionalSettings classe

SPRegionalSettings - Membres

Microsoft.SharePoint - Espace de noms