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
'Usage
Me.OnTypeChanged()
protected virtual void OnTypeChanged()
protected:
virtual void OnTypeChanged()
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

DataParameter Members

Microsoft.VisualStudio.Data.Framework Namespace

OnTypeChanging

SetTypeCore