Bewerken

Delen via


DesignerSerializationManager.OnResolveName(ResolveNameEventArgs) Method

Definition

Raises the ResolveName event.

protected:
 virtual void OnResolveName(System::ComponentModel::Design::Serialization::ResolveNameEventArgs ^ e);
protected virtual void OnResolveName (System.ComponentModel.Design.Serialization.ResolveNameEventArgs e);
abstract member OnResolveName : System.ComponentModel.Design.Serialization.ResolveNameEventArgs -> unit
override this.OnResolveName : System.ComponentModel.Design.Serialization.ResolveNameEventArgs -> unit
Protected Overridable Sub OnResolveName (e As ResolveNameEventArgs)

Parameters

e
ResolveNameEventArgs

A ResolveNameEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnResolveName method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnResolveName(ResolveNameEventArgs) in a derived class, be sure to call the base class' OnResolveName(ResolveNameEventArgs) method so that registered delegates receive the event.

Applies to

See also