다음을 통해 공유


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

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")> _
Public Interface IClassFactory2 _
    Inherits IClassFactory
‘사용 방법
Dim instance As IClassFactory2
[InterfaceTypeAttribute()]
[GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")]
public interface IClassFactory2 : IClassFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"B196B28F-BAB4-101A-B69C-00AA00341D07")]
public interface class IClassFactory2 : IClassFactory
[<InterfaceTypeAttribute()>]
[<GuidAttribute("B196B28F-BAB4-101A-B69C-00AA00341D07")>]
type IClassFactory2 =  
    interface
        interface IClassFactory
    end
public interface IClassFactory2 extends IClassFactory

See Also

Reference

IClassFactory2 Members

Microsoft.VisualStudio.OLE.Interop Namespace