Partager via


DataParameter.OnTypeChanged Method

Called when the Type property has changed.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'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()

Remarks

The base implementation of this method resets the Size, Precision, and Scale properties to their defaults and tries to convert the current value to the new type by calling the TryConvertValue method.

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data Namespace

OnTypeChanging

SetTypeImpl