CommonMessagePump.IOleComponent2Private.OnActivationChange Method
Called when a new object is being activated.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Sub OnActivationChange ( _
pic As IOleComponent, _
fSameComponent As Integer, _
pcrinfo As OLECRINFO(), _
fHostIsActivating As Integer, _
pchostinfo As OLECHOSTINFO(), _
dwReserved As UInteger _
) Implements IOleComponent2Private.OnActivationChange
void IOleComponent2Private.OnActivationChange(
IOleComponent pic,
int fSameComponent,
OLECRINFO[] pcrinfo,
int fHostIsActivating,
OLECHOSTINFO[] pchostinfo,
uint dwReserved
)
private:
virtual void OnActivationChange(
IOleComponent^ pic,
int fSameComponent,
array<OLECRINFO>^ pcrinfo,
int fHostIsActivating,
array<OLECHOSTINFO>^ pchostinfo,
unsigned int dwReserved
) sealed = IOleComponent2Private::OnActivationChange
private abstract OnActivationChange :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
private override OnActivationChange :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
JScript does not support explicit interface implementations.
Parameters
pic
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponentAn IOleComponent, or nulla null reference (Nothing in Visual Basic).
fSameComponent
Type: System.Int32true if pic is the same component as the callee of this method, otherwise false.
pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]An array of OLECRINFO structures, which represent registry information for pic.
fHostIsActivating
Type: System.Int32true if the host is being activated, otherwise false.
pchostinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO[]An array of OLECHOSTINFO structures, which represent host information.
dwReserved
Type: System.UInt32Reserved.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.