Freigeben über


RssPubDateToLocalTimeConverter.Convert(String, Object, CultureInfo) Method

Definition

Converts a string representing a DateTime to a string representing the same time in the local time zone.

protected:
 override System::String ^ Convert(System::String ^ inputString, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected override string Convert (string inputString, object parameter, System.Globalization.CultureInfo culture);
override this.Convert : string * obj * System.Globalization.CultureInfo -> string
Protected Overrides Function Convert (inputString As String, parameter As Object, culture As CultureInfo) As String

Parameters

inputString
String

The original time string to convert.

parameter
Object

The converter parameter (not used).

culture
CultureInfo

The current UI culture.

Returns

A string representing the input time, converted into the local time zone.

Applies to