Partager via


ActivationChangeEventArgs Class

Definition

The event args given to listeners of the ActivationChange event.

public ref class ActivationChangeEventArgs : EventArgs
public class ActivationChangeEventArgs : EventArgs
type ActivationChangeEventArgs = class
    inherit EventArgs
Public Class ActivationChangeEventArgs
Inherits EventArgs
Inheritance
ActivationChangeEventArgs

Constructors

ActivationChangeEventArgs(IOleComponent, Boolean, Nullable<OLECRINFO>, Boolean, Nullable<OLECHOSTINFO>)

Constructs a ActivationChangeEventArgs with the given info.

Properties

ActivatedComponent

The IOleComponent that recieved activation.

ActivatingComponentsInfo

The OLECRINFO of the component being activated if ActivatedComponent is not null, otherwise null.

CalleeIsActivating

A boolean value indicating whether the callee of the OnActivationChange(IOleComponent, Int32, OLECRINFO[], Int32, OLECHOSTINFO[], UInt32) is the component being activated.

HostInfo

The OLECHOSTINFO if HostIsActivating is true, otherwise null.

HostIsActivating

A value indicating if the component host is activating.

Applies to