共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("00000001-0000-0000-C000-000000000046")> _
Public Interface IClassFactory
'用途
Dim instance As 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

See Also

Reference

IClassFactory Members

Microsoft.VisualStudio.OLE.Interop Namespace