DataParameter.OnTypeChanged Method
Called when the Type property has changed.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'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()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.