DataParameter.OnTypeChanged Method

Called when the Type property has changed.

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

Syntax

'宣言
Protected Overridable Sub OnTypeChanged
'使用

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

Permissions

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data Namespace

OnTypeChanging

SetTypeImpl