共用方式為


IClassFactory Interface

Definition

Creates an instance of a class of a specific type. For more information, see IClassFactory.

public interface class IClassFactory
public interface class IClassFactory
__interface IClassFactory
[System.Runtime.InteropServices.Guid("00000001-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IClassFactory
[System.Runtime.InteropServices.Guid("00000001-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IClassFactory
[<System.Runtime.InteropServices.Guid("00000001-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IClassFactory = interface
[<System.Runtime.InteropServices.Guid("00000001-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IClassFactory = interface
Public Interface IClassFactory
Derived
Attributes

Methods

CreateInstance(Guid, Object)
LockServer(Int32)

Applies to