ActivationChangeEventArgs Constructor
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
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
)
Parameters
- activatedComponent
Type: Microsoft.VisualStudio.OLE.Interop.IOleComponent
The component being activated, or null if none.
- calleeIsActivating
Type: System.Boolean
A Boolean value indicating if the caller of the OnActivationChange is being activated.
- activatingComponentsInfo
Type: System.Nullable<OLECRINFO>
The activating components info, if any.
- hostIsActivating
Type: System.Boolean
A Boolean value indicating whether the component host is activating.
- hostInfo
Type: System.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