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
- s
Type: System.String
- provider
Type: System.IFormatProvider
- styles
Type: System.Globalization.DateTimeStyles
- result
Type: Microsoft.Exchange.ExchangeSystem.ExDateTime
Return value
Type: System.Boolean