Compartir a través de


DataParameter.OnTypeChanged (Método)

Se le llama cuando ha cambiado la propiedad Type.

Espacio de nombres:  Microsoft.VisualStudio.Data
Ensamblado:  Microsoft.VisualStudio.Data (en Microsoft.VisualStudio.Data.dll)

Sintaxis

'Declaración
Protected Overridable Sub OnTypeChanged
protected virtual void OnTypeChanged()
protected:
virtual void OnTypeChanged()
abstract OnTypeChanged : unit -> unit 
override OnTypeChanged : unit -> unit 
protected function OnTypeChanged()

Comentarios

La implementación base de este método restablece Size, Precision, y las propiedades de Scale a sus valores predeterminados e intenta convertir el valor actual al nuevo tipo llamando al método de TryConvertValue .

Seguridad de .NET Framework

Vea también

Referencia

DataParameter Clase

Microsoft.VisualStudio.Data (Espacio de nombres)

OnTypeChanging

SetTypeImpl