Compartilhar via


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

'Declaration
Protected Overridable Sub OnTypeChanging ( _
    value As String _
)
protected virtual void OnTypeChanging(
    string value
)
protected:
virtual void OnTypeChanging(
    String^ value
)
abstract OnTypeChanging : 
        value:string -> unit  
override OnTypeChanging : 
        value:string -> unit
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.

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data.Framework Namespace