Szerkesztés

Megosztás a következőn keresztül:


DesignerSerializationManager.IDesignerSerializationManager.ResolveName Event

Definition

Occurs when IDesignerSerializationManager.GetName(Object) cannot locate the specified name in the serialization manager's name table.

event System.ComponentModel.Design.Serialization.ResolveNameEventHandler System.ComponentModel.Design.Serialization.IDesignerSerializationManager.ResolveName;
member this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.ResolveName : System.ComponentModel.Design.Serialization.ResolveNameEventHandler 
Custom Event ResolveName As ResolveNameEventHandler Implements System.ComponentModel.Design.Serialization.IDesignerSerializationManager

Event Type

Implements

Exceptions

The serialization manager does not have an active serialization session.

Remarks

The ResolveName event is raised when the IDesignerSerializationManager.GetName method is called, but it fails to find the specified name in the serialization manager's name table.

This event provides a way for a serializer to demand-create an object so the serializer does not have to order object creation by dependency. This delegate is cleared immediately after serialization or deserialization is complete.

Applies to

See also