Compartir a través de


CommonMessagePump.IOleComponent.OnActivationChange Method

Notifies the component when a new object is being activated.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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 IOleComponent.OnActivationChange
void IOleComponent.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 = IOleComponent::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

  • fSameComponent
    Type: Int32

    true if pic is the same as the callee of this method, otherwise false.

  • fHostIsActivating
    Type: Int32

    true if the host that is being activated, otherwise false.

  • dwReserved
    Type: UInt32

    Reserved.

Implements

IOleComponent.OnActivationChange(IOleComponent, Int32, array<OLECRINFO[], Int32, array<OLECHOSTINFO[], UInt32)

Remarks

See OnActivationChange for more information.

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace