Partager via


IClassFactory2 Interface

Definition

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

public interface class IClassFactory2 : Microsoft::VisualStudio::OLE::Interop::IClassFactory
public interface class IClassFactory2 : Microsoft::VisualStudio::OLE::Interop::IClassFactory
__interface IClassFactory2 : Microsoft::VisualStudio::OLE::Interop::IClassFactory
[System.Runtime.InteropServices.Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IClassFactory2 : Microsoft.VisualStudio.OLE.Interop.IClassFactory
[System.Runtime.InteropServices.Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IClassFactory2 : Microsoft.VisualStudio.OLE.Interop.IClassFactory
[<System.Runtime.InteropServices.Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IClassFactory2 = interface
    interface IClassFactory
[<System.Runtime.InteropServices.Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IClassFactory2 = interface
    interface IClassFactory
Public Interface IClassFactory2
Implements IClassFactory
Attributes
Implements

Methods

CreateInstance(Guid, Object)
CreateInstanceLic(Guid, String, Object)
GetLicInfo(LICINFO[])
LockServer(Int32)
RequestLicKey(UInt32, String)

Applies to