ActivationChangeEventArgs Constructor
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
activatedComponent As IOleComponent, _
calleeIsActivating As Boolean, _
activatingComponentsInfo As Nullable(Of OLECRINFO), _
hostIsActivating As Boolean, _
hostInfo As Nullable(Of OLECHOSTINFO) _
)
public ActivationChangeEventArgs(
IOleComponent activatedComponent,
bool calleeIsActivating,
Nullable<OLECRINFO> activatingComponentsInfo,
bool hostIsActivating,
Nullable<OLECHOSTINFO> hostInfo
)
public:
ActivationChangeEventArgs(
IOleComponent^ activatedComponent,
bool calleeIsActivating,
Nullable<OLECRINFO> activatingComponentsInfo,
bool hostIsActivating,
Nullable<OLECHOSTINFO> hostInfo
)
new :
activatedComponent:IOleComponent *
calleeIsActivating:bool *
activatingComponentsInfo:Nullable<OLECRINFO> *
hostIsActivating:bool *
hostInfo:Nullable<OLECHOSTINFO> -> ActivationChangeEventArgs
public function ActivationChangeEventArgs(
activatedComponent : IOleComponent,
calleeIsActivating : boolean,
activatingComponentsInfo : Nullable<OLECRINFO>,
hostIsActivating : boolean,
hostInfo : Nullable<OLECHOSTINFO>
)
Parameters
activatedComponent
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponentThe component being activated, or null if none.
calleeIsActivating
Type: BooleanA Boolean value indicating if the caller of the OnActivationChange is being activated.
activatingComponentsInfo
Type: Nullable<OLECRINFO>The activating components info, if any.
hostIsActivating
Type: BooleanA Boolean value indicating whether the component host is activating.
hostInfo
Type: Nullable<OLECHOSTINFO>The host info, if any.
.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
ActivationChangeEventArgs Class
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace