Читати англійською Редагувати

Поділитися через


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, out DateTimeOffset dateTimeOffset);

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

Продукт Версії
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)