ILocalRegistry5.CreateAggregatedManagedInstance Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'宣告
Function CreateAggregatedManagedInstance ( _
codeBase As String, _
AssemblyName As String, _
TypeName As String, _
pUnkOuter As IntPtr, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppvObj As IntPtr _
) As Integer
'用途
Dim instance As ILocalRegistry5
Dim codeBase As String
Dim AssemblyName As String
Dim TypeName As String
Dim pUnkOuter As IntPtr
Dim riid As Guid
Dim ppvObj As IntPtr
Dim returnValue As Integer
returnValue = instance.CreateAggregatedManagedInstance(codeBase, _
AssemblyName, TypeName, pUnkOuter, _
riid, ppvObj)
int CreateAggregatedManagedInstance(
string codeBase,
string AssemblyName,
string TypeName,
IntPtr pUnkOuter,
ref Guid riid,
out IntPtr ppvObj
)
int CreateAggregatedManagedInstance(
[InAttribute] String^ codeBase,
[InAttribute] String^ AssemblyName,
[InAttribute] String^ TypeName,
[InAttribute] IntPtr pUnkOuter,
[InAttribute] Guid% riid,
[OutAttribute] IntPtr% ppvObj
)
abstract CreateAggregatedManagedInstance :
codeBase:string *
AssemblyName:string *
TypeName:string *
pUnkOuter:IntPtr *
riid:Guid byref *
ppvObj:IntPtr byref -> int
function CreateAggregatedManagedInstance(
codeBase : String,
AssemblyName : String,
TypeName : String,
pUnkOuter : IntPtr,
riid : Guid,
ppvObj : IntPtr
) : int
Parameters
- codeBase
Type: System.String
- AssemblyName
Type: System.String
- TypeName
Type: System.String
- pUnkOuter
Type: System.IntPtr
- riid
Type: System.Guid%
- ppvObj
Type: System.IntPtr%
Return Value
Type: System.Int32
.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.