Partager via


HandlerAttribute.ShouldRegister Method

Definition

Returns a Boolean value that indicates whether the runtime should automatically register the handler for the target.

public:
 virtual bool ShouldRegister();
public virtual bool ShouldRegister ();
abstract member ShouldRegister : unit -> bool
override this.ShouldRegister : unit -> bool
Public Overridable Function ShouldRegister () As Boolean

Returns

Applies to