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

'Declaração
<InterfaceTypeAttribute()> _
<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")> _
Public Interface IClassFactory2 _
    Inherits IClassFactory
[InterfaceTypeAttribute()]
[GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")]
public interface IClassFactory2 : IClassFactory

The IClassFactory2 type exposes the following members.

Methods

  Name Description
Public method CreateInstance(Guid%, Object%) (Inherited from IClassFactory.)
Public method CreateInstance(Guid%, Object%)
Public method CreateInstanceLic
Public method GetLicInfo
Public method LockServer(Int32) (Inherited from IClassFactory.)
Public method LockServer(Int32)
Public method RequestLicKey

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace