OleComponent.IOleComponent.OnActivationChange Method
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
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
)
private:
virtual void OnActivationChange(
IOleComponent^ pic,
int fSameComponent,
array<OLECRINFO>^ pcrinfo,
int fHostIsActivating,
array<OLECHOSTINFO>^ pchostinfo,
unsigned int dwReserved
) sealed = IOleComponent::OnActivationChange
private abstract OnActivationChange :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
private override OnActivationChange :
pic:IOleComponent *
fSameComponent:int *
pcrinfo:OLECRINFO[] *
fHostIsActivating:int *
pchostinfo:OLECHOSTINFO[] *
dwReserved:uint32 -> unit
JScript does not support explicit interface implementations.
Parameters
pic
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponentIf non-NULL, then this is the component that is being activated.
fSameComponent
Type: Int32True 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: Int32If 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: UInt32Reserved 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