Share via


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 ( _
    s As String, _
    provider As IFormatProvider, _
    styles As DateTimeStyles, _
    <OutAttribute> ByRef result As ExDateTime _
) As Boolean
'Usage
Dim s As String
Dim provider As IFormatProvider
Dim styles As DateTimeStyles
Dim result As ExDateTime
Dim returnValue As Boolean

returnValue = ExDateTime.TryParse(s, provider, _
    styles, result)
public static bool TryParse(
    string s,
    IFormatProvider provider,
    DateTimeStyles styles,
    out ExDateTime result
)

Parameters

Return value

Type: System.Boolean

See also

Reference

ExDateTime structure

ExDateTime members

TryParse overload

Microsoft.Exchange.ExchangeSystem namespace