Method BeginUpdate
BeginUpdate()
Prevents object state updating until calling EndUpdate
method.
public virtual int BeginUpdate()
Returns
- int
Number of object state updating locks.
BeginUpdate(UpdateReason)
Prevents object state updating until calling EndUpdate
method.
public virtual int BeginUpdate(UpdateReason reason)
Parameters
reason
UpdateReasonReason of the source state updating.
Returns
- int
Number of object state updating locks.