ResourceReferenceExpressionConverter.ConvertTo Methode

Definitie

Converteert het opgegeven ResourceReferenceExpression object naar het opgegeven type.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Een ITypeDescriptorContext die een indelingscontext biedt.

culture
CultureInfo

De CultureInfo te gebruiken als de huidige cultuur.

value
Object

Het object dat moet worden geconverteerd.

destinationType
Type

Het type dat moet worden geconverteerd naar.

Retouren

De geconverteerde waarde.

Uitzonderingen

destinationType is null.

value moet van het type ResourceReferenceExpressionzijn.

Van toepassing op