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