ExDateTime.TryParse method (, String, IFormatProvider, DateTimeStyles, ExDateTime)
Namespace: Microsoft.Exchange.ExchangeSystem
Assembly: Microsoft.Exchange.Net (in Microsoft.Exchange.Net.dll)
Syntax
'Declaration
Public Shared Function TryParse ( _
exTimeZone As ExTimeZone, _
s As String, _
provider As IFormatProvider, _
styles As DateTimeStyles, _
<OutAttribute> ByRef result As ExDateTime _
) As Boolean
'Usage
Dim exTimeZone As ExTimeZone
Dim s As String
Dim provider As IFormatProvider
Dim styles As DateTimeStyles
Dim result As ExDateTime
Dim returnValue As Boolean
returnValue = ExDateTime.TryParse(exTimeZone, _
s, provider, styles, result)
public static bool TryParse(
ExTimeZone exTimeZone,
string s,
IFormatProvider provider,
DateTimeStyles styles,
out ExDateTime result
)
Parameters
- exTimeZone
Type: ExTimeZone
- s
Type: System.String
- provider
Type: System.IFormatProvider
- styles
Type: System.Globalization.DateTimeStyles
- result
Type: Microsoft.Exchange.ExchangeSystem.ExDateTime
Return value
Type: System.Boolean