Bewerken

Share via


TryParseDateTimeCallback Delegate

Definition

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to