Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ResolveName Event
Collapse the table of content
Expand the table of content

IDesignerSerializationManager.ResolveName Event

Occurs when GetName cannot locate the specified name in the serialization manager's name table.

[Visual Basic]
Event ResolveName As ResolveNameEventHandler
[C#]
event ResolveNameEventHandler ResolveName;
[C++]
__event ResolveNameEventHandler* ResolveName;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ResolveNameEventArgs containing data related to this event. The following ResolveNameEventArgs properties provide information specific to this event.

Property Description
Name Gets the name of the object to resolve.
Value Gets or sets the object that matches the name.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerSerializationManager Interface | IDesignerSerializationManager Members | System.ComponentModel.Design.Serialization Namespace

Show:
© 2015 Microsoft