共用方式為


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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ILocalRegistry5 Interface

ILocalRegistry5 Members

Microsoft.VisualStudio.Shell.Interop Namespace