IOleComponent2Private.OnActivationChange Method (IOleComponent, Int32, array<OLECRINFO[], Int32, array<OLECHOSTINFO , UInt32)
Namespace: Microsoft.Internal.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Sub OnActivationChange ( _
pic As IOleComponent, _
fSameComponent As Integer, _
pcrinfo As OLECRINFO(), _
fHostIsActivating As Integer, _
pchostinfo As OLECHOSTINFO(), _
dwReserved As UInteger _
)
'Utilisation
Dim instance As IOleComponent2Private
Dim pic As IOleComponent
Dim fSameComponent As Integer
Dim pcrinfo As OLECRINFO()
Dim fHostIsActivating As Integer
Dim pchostinfo As OLECHOSTINFO()
Dim dwReserved As UInteger
instance.OnActivationChange(pic, fSameComponent, _
pcrinfo, fHostIsActivating, pchostinfo, _
dwReserved)
void OnActivationChange(
IOleComponent pic,
int fSameComponent,
OLECRINFO[] pcrinfo,
int fHostIsActivating,
OLECHOSTINFO[] pchostinfo,
uint dwReserved
)
void OnActivationChange(
[InAttribute] IOleComponent^ pic,
[InAttribute] int fSameComponent,
[InAttribute] array<OLECRINFO>^ pcrinfo,
[InAttribute] int fHostIsActivating,
[InAttribute] array<OLECHOSTINFO>^ pchostinfo,
[InAttribute] unsigned int dwReserved
)
abstract OnActivationChange :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
function OnActivationChange(
pic : IOleComponent,
fSameComponent : int,
pcrinfo : OLECRINFO[],
fHostIsActivating : int,
pchostinfo : OLECHOSTINFO[],
dwReserved : uint
)
Parameters
- fSameComponent
Type: System.Int32
- pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECRINFO[]
- fHostIsActivating
Type: System.Int32
- pchostinfo
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECHOSTINFO[]
- dwReserved
Type: System.UInt32
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.