CommonMessagePump.IOleComponent.OnActivationChange Method
Notifies the component 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
‘선언
Private Sub OnActivationChange ( _
pic As IOleComponent, _
fSameComponent As Integer, _
pcrinfo As OLECRINFO(), _
fHostIsActivating As Integer, _
pchostinfo As OLECHOSTINFO(), _
dwReserved As UInteger _
) Implements IOleComponent.OnActivationChange
void IOleComponent.OnActivationChange(
IOleComponent pic,
int fSameComponent,
OLECRINFO[] pcrinfo,
int fHostIsActivating,
OLECHOSTINFO[] pchostinfo,
uint dwReserved
)
Parameters
- pic
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponent
The component that is being activated
- fSameComponent
Type: System.Int32
true if pic is the same as the callee of this method, otherwise false.
- pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]
The component registration information.
- fHostIsActivating
Type: System.Int32
true if the host that is being activated, otherwise false.
- pchostinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO[]
The OLE host information.
- dwReserved
Type: System.UInt32
Reserved.
Implements
Remarks
See OnActivationChange for more information.
.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.