ActivationChangeEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a ActivationChangeEventArgs with the given info.
public:
ActivationChangeEventArgs(Microsoft::VisualStudio::OLE::Interop::IOleComponent ^ activatedComponent, bool calleeIsActivating, Nullable<Microsoft::VisualStudio::OLE::Interop::OLECRINFO> activatingComponentsInfo, bool hostIsActivating, Nullable<Microsoft::VisualStudio::OLE::Interop::OLECHOSTINFO> hostInfo);
public ActivationChangeEventArgs (Microsoft.VisualStudio.OLE.Interop.IOleComponent activatedComponent, bool calleeIsActivating, Microsoft.VisualStudio.OLE.Interop.OLECRINFO? activatingComponentsInfo, bool hostIsActivating, Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO? hostInfo);
new Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ActivationChangeEventArgs : Microsoft.VisualStudio.OLE.Interop.IOleComponent * bool * Nullable<Microsoft.VisualStudio.OLE.Interop.OLECRINFO> * bool * Nullable<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO> -> Microsoft.VisualStudio.PlatformUI.OleComponentSupport.ActivationChangeEventArgs
Public Sub New (activatedComponent As IOleComponent, calleeIsActivating As Boolean, activatingComponentsInfo As Nullable(Of OLECRINFO), hostIsActivating As Boolean, hostInfo As Nullable(Of OLECHOSTINFO))
Parameters
- activatedComponent
- IOleComponent
The component being activated, or null if none.
- calleeIsActivating
- Boolean
A Boolean value indicating if the caller of the OnActivationChange(IOleComponent, Int32, OLECRINFO[], Int32, OLECHOSTINFO[], UInt32) is being activated.
- hostInfo
- Nullable<OLECHOSTINFO>
The host info, if any.