Compartilhar via


EventTargetArray Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at EventTargetArray Class.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

class EventTargetArray : public Microsoft::WRL::RuntimeClass<Microsoft::WRL::RuntimeClassFlags<ClassicCom>, IUnknown>;  

Remarks

Represents an array of event handlers.

The event handlers that are associated with an EventSource object are stored in a protected EventTargetArray data member.

Members

Public Constructors

Name Description
EventTargetArray::EventTargetArray Constructor Initializes a new instance of the EventTargetArray class.
EventTargetArray::~EventTargetArray Destructor Deinitializes the current EventTargetArray class.

Public Methods

Name Description
EventTargetArray::AddTail Method Appends the specified event handler to the end of the internal array of event handlers.
EventTargetArray::Begin Method Gets the address of the first element in the internal array of event handlers.
EventTargetArray::End Method Gets the address of the last element in the internal array of event handlers.
EventTargetArray::Length Method Gets the current number of elements in the internal array of event handlers.

Inheritance Hierarchy

EventTargetArray

Requirements

Header: event.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace