Taal

DurationConverter.ConvertTo Methode

Definitie

Converteert een exemplaar van Duration een ander type.

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

Parameters

context
ITypeDescriptorContext

Contextinformatie die wordt gebruikt voor conversie.

cultureInfo
CultureInfo

Culturele informatie die tijdens de conversie wordt gerespecteerd.

value
Object

Duurwaarde waaruit moet worden geconverteerd.

destinationType
Type

Type dat wordt geƫvalueerd voor conversie.

Retouren

Een nieuw exemplaar van de destinationType.

Kenmerken

Opmerkingen

destinationType moet zijn: String.

Van toepassing op