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