Sdílet prostřednictvím


ExTimeZoneEnumerator.TryGetTimeZoneByName Method

Namespace:  Microsoft.Exchange.ExchangeSystem
Assembly:  Microsoft.Exchange.Net (in Microsoft.Exchange.Net.dll)

Syntax

'Declaration
Public Function TryGetTimeZoneByName ( _
    timeZoneName As String, _
    <OutAttribute> ByRef timeZone As ExTimeZone _
) As Boolean
'Usage
Dim instance As ExTimeZoneEnumerator
Dim timeZoneName As String
Dim timeZone As ExTimeZone
Dim returnValue As Boolean

returnValue = instance.TryGetTimeZoneByName(timeZoneName, _
    timeZone)
public bool TryGetTimeZoneByName(
    string timeZoneName,
    out ExTimeZone timeZone
)

Parameters

Return Value

Type: System.Boolean