IOleComponent2Private Interface

The following interface is implemented here to fix a problem in the Interop.9.0 definition where the marshalling for GetWaitHandlesAndTimeout has an extra level of indirection on the handles argument which results in INVALID_HANDLE_VALUE errors in the message loop. Interop.9.0 decided not to fix this and thus we have IOleComponent2 defined here. All the methods with 'new' are required to keep the vtables aligned

This API is not CLS-compliant. 

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

Syntax

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

See Also

Reference

IOleComponent2Private Members

Microsoft.Internal.VisualStudio.Shell.Interop Namespace