Bagikan melalui


IVsParentHierarchy.GetBrowseExtender Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Function GetBrowseExtender ( _
    pHierarchyChild As IVsHierarchy, _
    itemid As UInteger, _
    <OutAttribute> ByRef ppDispatchExtension As Object _
) As Integer
int GetBrowseExtender(
    IVsHierarchy pHierarchyChild,
    uint itemid,
    out Object ppDispatchExtension
)
int GetBrowseExtender(
    [InAttribute] IVsHierarchy^ pHierarchyChild, 
    [InAttribute] unsigned int itemid, 
    [OutAttribute] Object^% ppDispatchExtension
)
abstract GetBrowseExtender : 
        pHierarchyChild:IVsHierarchy * 
        itemid:uint32 * 
        ppDispatchExtension:Object byref -> int 
function GetBrowseExtender(
    pHierarchyChild : IVsHierarchy, 
    itemid : uint, 
    ppDispatchExtension : Object
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsParentHierarchy::GetBrowseExtender(
   [in] IVsHierarchy *pHierarchyChild, 
   [in] VSITEMID itemid, 
   [out] IDispatch **ppDispatchExtension
);

.NET Framework Security

See Also

Reference

IVsParentHierarchy Interface

Microsoft.VisualStudio.Shell.Interop Namespace