DataParameter.OnTypeChanged, méthode

Appelé lorsque la propriété Type est modifiée.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Protected Overridable Sub OnTypeChanged
protected virtual void OnTypeChanged()
protected:
virtual void OnTypeChanged()
abstract OnTypeChanged : unit -> unit  
override OnTypeChanged : unit -> unit
protected function OnTypeChanged()

Notes

Implémentation de base de cette méthode réinitialise Size à la taille par défaut et aux essaie de convertir la valeur actuelle au nouveau type en appelant la méthode TryConvertValue.

Sécurité .NET Framework

Voir aussi

Référence

DataParameter Classe

Microsoft.VisualStudio.Data.Framework, espace de noms

OnTypeChanging

SetTypeCore