共用方式為


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

Microsoft internal use only.

Namespace:  Microsoft.Internal.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Sub OnActivationChange ( _
    pic As IOleComponent, _
    fSameComponent As Integer, _
    pcrinfo As OLECRINFO(), _
    fHostIsActivating As Integer, _
    pchostinfo As OLECHOSTINFO(), _
    dwReserved As UInteger _
)
void OnActivationChange(
    IOleComponent pic,
    int fSameComponent,
    OLECRINFO[] pcrinfo,
    int fHostIsActivating,
    OLECHOSTINFO[] pchostinfo,
    uint dwReserved
)

Parameters

.NET Framework Security

See Also

Reference

IOleComponent2Private Interface

OnActivationChange Overload

Microsoft.Internal.VisualStudio.Shell.Interop Namespace