Share via


IClassFactory Interface

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

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00000001-0000-0000-C000-000000000046")> _
Public Interface IClassFactory
[InterfaceTypeAttribute()]
[GuidAttribute("00000001-0000-0000-C000-000000000046")]
public interface IClassFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"00000001-0000-0000-C000-000000000046")]
public interface class IClassFactory
[<InterfaceTypeAttribute()>]
[<GuidAttribute("00000001-0000-0000-C000-000000000046")>]
type IClassFactory =  interface end
public interface IClassFactory

The IClassFactory type exposes the following members.

Methods

  Name Description
Public method CreateInstance
Public method LockServer

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace