다음을 통해 공유


IClassFactory.CreateInstance Method

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

Syntax

‘선언
Sub CreateInstance ( _
    ByRef riid As Guid, _
    <OutAttribute> ByRef ppvObject As Object _
)
‘사용 방법
Dim instance As IClassFactory
Dim riid As Guid
Dim ppvObject As Object

instance.CreateInstance(riid, ppvObject)
void CreateInstance(
    ref Guid riid,
    out Object ppvObject
)
void CreateInstance(
    [InAttribute] Guid% riid, 
    [OutAttribute] Object^% ppvObject
)
abstract CreateInstance : 
        riid:Guid byref * 
        ppvObject:Object byref -> unit 
function CreateInstance(
    riid : Guid, 
    ppvObject : Object
)

Parameters

.NET Framework Security

See Also

Reference

IClassFactory Interface

IClassFactory Members

Microsoft.VisualStudio.OLE.Interop Namespace