SerializationObjectManager.RegisterObject(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Inscrit l’objet sur lequel les événements seront déclenchés.
public:
void RegisterObject(System::Object ^ obj);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("SerializationObjectManager is not trim compatible because the type of objects being managed cannot be statically discovered.")]
public void RegisterObject(object obj);
public void RegisterObject(object obj);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("SerializationObjectManager is not trim compatible because the Type of objects being managed cannot be statically discovered.")]
public void RegisterObject(object obj);
[System.Security.SecurityCritical]
public void RegisterObject(object obj);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("SerializationObjectManager is not trim compatible because the type of objects being managed cannot be statically discovered.")>]
member this.RegisterObject : obj -> unit
member this.RegisterObject : obj -> unit
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("SerializationObjectManager is not trim compatible because the Type of objects being managed cannot be statically discovered.")>]
member this.RegisterObject : obj -> unit
[<System.Security.SecurityCritical>]
member this.RegisterObject : obj -> unit
Public Sub RegisterObject (obj As Object)
Paramètres
- obj
- Object
Objet à inscrire.
- Attributs
Remarques
La RaiseOnSerializedEvent méthode est appelée sur l’objet inscrit.