次の方法で共有


ITypedEventHandler<TSender, TArgs> interface

Represents the method that will handle an event from a sender of type TSender and event data of type T.

Template parameters

  • TSender
    The type of the event sender.

  • TArgs
    The type that encapsulates data from the event.

Members

The ITypedEventHandler<TSender,TArgs> interface inherits from the IUnknown interface. ITypedEventHandler also has these types of members:

  • Methods

Methods

The ITypedEventHandler<TSender,TArgs> interface has these methods.

Method Description
Invoke

Invokes the method that handles an event from a sender of type TSender with event data of type T.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.foundation.collections.h

IDL

Windows.foundation.collections.idl

See also

IEventHandler