Partager via


IClassFactory2 Interface

Creates an instance of a specified class. Supports licensing. Extends and inherits from IClassFactory. For more information, see IClassFactory2.

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

Syntax

'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")> _
Public Interface IClassFactory2 _
    Inherits IClassFactory
'Utilisation
Dim instance As IClassFactory2
[InterfaceTypeAttribute()]
[GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")]
public interface IClassFactory2 : IClassFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"B196B28F-BAB4-101A-B69C-00AA00341D07")]
public interface class IClassFactory2 : IClassFactory
[<InterfaceTypeAttribute()>]
[<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")>]
type IClassFactory2 =  
    interface
        interface IClassFactory
    end
public interface IClassFactory2 extends IClassFactory

See Also

Reference

IClassFactory2 Members

Microsoft.VisualStudio.OLE.Interop Namespace