DataParameter.OnTypeChanging Method

Called when the Type property is about to change.

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

Syntax

'宣言
Protected Overridable Sub OnTypeChanging ( _
    value As String _
)
'使用
Dim value As String

Me.OnTypeChanging(value)
protected virtual void OnTypeChanging(
    string value
)
protected:
virtual void OnTypeChanging(
    String^ value
)
protected function OnTypeChanging(
    value : String
)

Parameters

Exceptions

Exception Condition
ArgumentException

The parameter type is not valid.

Remarks

The base implementation of this method ensures that the value represents a valid type by calling the IsValidType method.

Permissions

See Also

Reference

DataParameter Class

DataParameter Members

Microsoft.VisualStudio.Data.Framework Namespace