Språk

RepeatBehaviorConverter.ConvertTo Metod

Definition

Konverterar en instans av RepeatBehavior till en måltyp som stöds.

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

Parametrar

context
ITypeDescriptorContext

Kontextinformation som krävs för konvertering.

cultureInfo
CultureInfo

Kulturell information att respektera under konverteringen.

value
Object

Objekt som utvärderas för konvertering.

destinationType
Type

Måltypen utvärderas för konvertering.

Returer

De enda måltyper som stöds är String och InstanceDescriptor.

Attribut

Gäller för