EntityRef<TEntity>.OnSync 事件
EntityRef<TEntity>对象与它所代表的实体进行同步时引发。
命名空间: Microsoft.SharePoint.Linq
程序集: Microsoft.SharePoint.Linq(位于 Microsoft.SharePoint.Linq.dll 中)
语法
声明
Public Event OnSync As EventHandler(Of AssociationChangedEventArgs(Of TEntity))
用法
Dim instance As EntityRef
Dim handler As EventHandler(Of AssociationChangedEventArgs(Of TEntity))
AddHandler instance.OnSync, handler
public event EventHandler<AssociationChangedEventArgs<TEntity>> OnSync