Condividi tramite


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

  • hostIsActivating
    Type: System.Boolean
    A Boolean value indicating whether the component host is activating.

.NET Framework Security

See Also

Reference

ActivationChangeEventArgs Class

ActivationChangeEventArgs Members

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace