Share 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

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")> _
Public Interface IClassFactory2 _
    Inherits IClassFactory
[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

The IClassFactory2 type exposes the following members.

Methods

  Name Description
Public method CreateInstance
Public method CreateInstanceLic
Public method GetLicInfo
Public method LockServer
Public method RequestLicKey

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace