Share via


DataParameter.OnTypeChanged Method

Called when the Type property has changed.

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

Syntax

'Declaration
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 to the default size 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.Framework Namespace

OnTypeChanging

SetTypeCore