Compartilhar via


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

'Declaração
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
)

Parameters

  • fSameComponent
    Type: System.Int32
    true if pic is the same component as the callee of this method, otherwise false.
  • fHostIsActivating
    Type: System.Int32
    true if the host is being activated, otherwise false.

Implements

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

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace