IClassFactory.CreateInstance Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub CreateInstance ( _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvObject As Object _
)
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
- riid
Type: System.Guid%
- ppvObject
Type: System.Object%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.