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.

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

Represents an array of event handlers.

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

Public Constructors

NameDescription
EventTargetArray::EventTargetArray ConstructorInitializes a new instance of the EventTargetArray class.
EventTargetArray::~EventTargetArray DestructorDeinitializes the current EventTargetArray class.

Public Methods

NameDescription
EventTargetArray::AddTail MethodAppends the specified event handler to the end of the internal array of event handlers.
EventTargetArray::Begin MethodGets the address of the first element in the internal array of event handlers.
EventTargetArray::End MethodGets the address of the last element in the internal array of event handlers.
EventTargetArray::Length MethodGets the current number of elements in the internal array of event handlers.

EventTargetArray

Header: event.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

Show: