Partager via


DataParameter.OnSizeChanging Method

Called when the Size property is about to change.

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

Syntax

'Déclaration
Protected Overridable Sub OnSizeChanging ( _
    value As Integer _
)
protected virtual void OnSizeChanging(
    int value
)
protected:
virtual void OnSizeChanging(
    int value
)
abstract OnSizeChanging : 
        value:int -> unit 
override OnSizeChanging : 
        value:int -> unit 
protected function OnSizeChanging(
    value : int
)

Parameters

Remarks

The base implementation of this method ensures that the parameter direction is not input (in which case the size can be inferred from the actual value) and that the size is not fixed. It also ensures that the value is greater than or equal to zero.

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data Namespace

OnSizeChanged

SetSizeImpl