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
- value
Type: System.String
The value that the Type property will be set to.
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
- 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.