ActivationChangeEventArgs Constructor
Constructs a ActivationChangeEventArgs with the given info.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Sub New ( _
activatedComponent As IOleComponent, _
calleeIsActivating As Boolean, _
activatingComponentsInfo As Nullable(Of OLECRINFO), _
hostIsActivating As Boolean, _
hostInfo As Nullable(Of OLECHOSTINFO) _
)
'Utilizzo
Dim activatedComponent As IOleComponent
Dim calleeIsActivating As Boolean
Dim activatingComponentsInfo As Nullable(Of OLECRINFO)
Dim hostIsActivating As Boolean
Dim hostInfo As Nullable(Of OLECHOSTINFO)
Dim instance As New ActivationChangeEventArgs(activatedComponent, _
calleeIsActivating, activatingComponentsInfo, _
hostIsActivating, hostInfo)
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.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
ActivationChangeEventArgs Members
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace