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
'Declaração
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
If non-NULL, then this is the component that is being activated.
- fSameComponent
Type: System.Int32
True if pic is the component that called this method.
- pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]
OLECRINFO of pic if is non-null.
- 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.
- pchostinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO[]
If fHostIsActivating is TRUE (1) then this is the hosts OLECHOSTINFO, otherwise this is null.
- dwReserved
Type: System.UInt32
Reserved for future use, should be 0.
Implements
.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.
See Also
Reference
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace