OleComponent.OnActivationChangeCore Method
Default implemmentation of OnActivationChange. Simply raises the ActivationChange event if there are listeners.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Protected Overridable Sub OnActivationChangeCore ( _
pic As IOleComponent, _
fSameComponent As Integer, _
pcrinfo As OLECRINFO(), _
fHostIsActivating As Integer, _
pchostinfo As OLECHOSTINFO(), _
dwReserved As UInteger _
)
'Utilisation
Dim pic As IOleComponent
Dim fSameComponent As Integer
Dim pcrinfo As OLECRINFO()
Dim fHostIsActivating As Integer
Dim pchostinfo As OLECHOSTINFO()
Dim dwReserved As UInteger
Me.OnActivationChangeCore(pic, fSameComponent, _
pcrinfo, fHostIsActivating, pchostinfo, _
dwReserved)
protected virtual void OnActivationChangeCore(
IOleComponent pic,
int fSameComponent,
OLECRINFO[] pcrinfo,
int fHostIsActivating,
OLECHOSTINFO[] pchostinfo,
uint dwReserved
)
protected:
virtual void OnActivationChangeCore(
IOleComponent^ pic,
int fSameComponent,
array<OLECRINFO>^ pcrinfo,
int fHostIsActivating,
array<OLECHOSTINFO>^ pchostinfo,
unsigned int dwReserved
)
abstract OnActivationChangeCore :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
override OnActivationChangeCore :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
protected function OnActivationChangeCore(
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
.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