共用方式為


IProvideClassInfo2 Interface

Provides the type information (ITypeInfo) for a given coclass (Component Automation). Extends and inherits from IProvideClassInfo. Provides an easier method to get the default event set. For more information, see IProvideClassInfo.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'宣告
<GuidAttribute("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")> _
<InterfaceTypeAttribute()> _
Public Interface IProvideClassInfo2 _
    Inherits IProvideClassInfo
'用途
Dim instance As IProvideClassInfo2
[GuidAttribute("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")]
[InterfaceTypeAttribute()]
public interface IProvideClassInfo2 : IProvideClassInfo
[GuidAttribute(L"A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")]
[InterfaceTypeAttribute()]
public interface class IProvideClassInfo2 : IProvideClassInfo
[<GuidAttribute("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")>]
[<InterfaceTypeAttribute()>]
type IProvideClassInfo2 =  
    interface
        interface IProvideClassInfo
    end
public interface IProvideClassInfo2 extends IProvideClassInfo

See Also

Reference

IProvideClassInfo2 Members

Microsoft.VisualStudio.OLE.Interop Namespace