Partager via


EntityRef<TEntity>.OnChanged - Événement

Déclenché après une modification apportée à cet objet EntityRef<TEntity> .

Espace de noms :  Microsoft.SharePoint.Linq
Assembly :  Microsoft.SharePoint.Linq (dans Microsoft.SharePoint.Linq.dll)

Syntaxe

'Déclaration
Public Event OnChanged As EventHandler
'Utilisation
Dim instance As EntityRef
Dim handler As EventHandler

AddHandler instance.OnChanged, handler
public event EventHandler OnChanged

Remarques

En règle générale, ce gestionnaire est appelé, éventuellement par une série imbriquée d'appels, par l'accesseur set d'une propriété qui encapsule un champ privé EntityRef<TEntity> juste après qu'il écrit une nouvelle valeur dans le champ.

Voir aussi

Référence

EntityRef<TEntity> classe

EntityRef<TEntity> - Membres

Microsoft.SharePoint.Linq - Espace de noms