PropertyPathConverter.ConvertTo Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertit l’objet valeur spécifié en PropertyPath type.
public:
override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, System::Globalization::CultureInfo ^ cultureInfo, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, System.Globalization.CultureInfo cultureInfo, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (typeDescriptorContext As ITypeDescriptorContext, cultureInfo As CultureInfo, value As Object, destinationType As Type) As Object
Paramètres
- typeDescriptorContext
- ITypeDescriptorContext
Qui ITypeDescriptorContext fournit un contexte de format.
- cultureInfo
- CultureInfo
À CultureInfo utiliser comme culture actuelle.
- value
- Object
À PropertyPath convertir.
Retours
Destination convertie String.
Exceptions
Il value a été fourni en tant que null.
Ce value n’était pas nullle cas, mais n’était pas du type attendu PropertyPath .
- ou -
Ce destinationType n’était pas le String type.