共用方式為


OleComponent.IOleComponent.OnActivationChange Method

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
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

  • fSameComponent
    Type: System.Int32
    True if pic is the component that called this method.
  • fHostIsActivating
    Type: System.Int32
    If pic is null and this is TRUE (1) it indicates the host is activating. If pic is null and this is FALSE (0) then there is no current active object.
  • dwReserved
    Type: System.UInt32
    Reserved for future use, should be 0.

Implements

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

.NET Framework Security

See Also

Reference

OleComponent Class

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace