DateTimeOffsetConverter.ConvertTo Methode

Definitie

Converteert een DateTimeOffset naar een object van het opgegeven type.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

Parameters

context
ITypeDescriptorContext

De context van de datumnotatie.

culture
CultureInfo

De datumcultuur.

value
Object

De DateTimeOffset te converteren.

destinationType
Type

Het type dat moet worden geconverteerd naar.

Retouren

Een object van het opgegeven type dat de DateTimeOffset.

Uitzonderingen

De conversie kan niet worden uitgevoerd.

Van toepassing op