Condividi tramite


EntityRef<TEntity>.OnChanging Event

Raised before a change to this EntityRef<TEntity> object.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Event OnChanging As EventHandler
'Usage
Dim instance As EntityRef
Dim handler As EventHandler

AddHandler instance.OnChanging, handler
public event EventHandler OnChanging

Remarks

Typically, this handler is called, possibly by a nested series of calls, by the set accessor of a property that wraps a private EntityRef<TEntity> field just before it writes a new value to the field.

See Also

Reference

EntityRef<TEntity> Class

EntityRef<TEntity> Members

Microsoft.SharePoint.Linq Namespace