IOleComponent2 Interface

Enables components to participate in message processing while they are waiting for handles.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")> _
Public Interface IOleComponent2 _
    Inherits IOleComponent
‘사용 방법
Dim instance As IOleComponent2
[InterfaceTypeAttribute()]
[GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
public interface IOleComponent2 : IOleComponent
[InterfaceTypeAttribute()]
[GuidAttribute(L"ED0751FC-D772-4D1D-88FC-0C1AA275391B")]
public interface class IOleComponent2 : IOleComponent
[<InterfaceTypeAttribute()>]
[<GuidAttribute("ED0751FC-D772-4D1D-88FC-0C1AA275391B")>]
type IOleComponent2 =  
    interface
        interface IOleComponent
    end
public interface IOleComponent2 extends IOleComponent

Remarks

To add the component to the message loop and receive notification of signals, call FPushMessageLoop with a uReason parameter value of oleloopModelessFormWithHandles or oleloopModelessFormWithHandlesNoIdle.

See Also

Reference

IOleComponent2 Members

Microsoft.VisualStudio.Shell.Interop Namespace

IOleComponentManager

_OLELOOP2