ITypeInfo.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 ppvObj As Object _
)
'用途
Dim instance As ITypeInfo
Dim riid As Guid
Dim ppvObj As Object
instance.CreateInstance(riid, ppvObj)
void CreateInstance(
ref Guid riid,
out Object ppvObj
)
void CreateInstance(
[InAttribute] Guid% riid,
[OutAttribute] Object^% ppvObj
)
abstract CreateInstance :
riid:Guid byref *
ppvObj:Object byref -> unit
function CreateInstance(
riid : Guid,
ppvObj : Object
)
Parameters
- riid
Type: System.Guid%
- ppvObj
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.