TryParseDateTimeCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A delegate type that is used by the SyndicationFeedFormatter class for converting XmlDateTimeData string data to DateTimeOffset.
public delegate bool TryParseDateTimeCallback(XmlDateTimeData data, [Runtime::InteropServices::Out] DateTimeOffset % dateTimeOffset);
public delegate bool TryParseDateTimeCallback(XmlDateTimeData data, out DateTimeOffset dateTimeOffset);
type TryParseDateTimeCallback = delegate of XmlDateTimeData * DateTimeOffset -> bool
Public Delegate Function TryParseDateTimeCallback(data As XmlDateTimeData, ByRef dateTimeOffset As DateTimeOffset) As Boolean
Parameters
- data
- XmlDateTimeData
The raw date string contained in XmlDateTimeData to convert to a DateTimeOffset.
- dateTimeOffset
- DateTimeOffset
The resulting DateTimeOffset.
Return Value
A boolean value indicating whether or not the input string was successfully parsed.
Applies to
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.