Partager via


IVsParentHierarchy.GetBrowseExtender(IVsHierarchy, UInt32, Object) Method

Definition

public:
 int GetBrowseExtender(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchyChild, System::UInt32 itemid, [Runtime::InteropServices::Out] System::Object ^ % ppDispatchExtension);
int GetBrowseExtender(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchyChild, unsigned int itemid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppDispatchExtension);
public int GetBrowseExtender (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchyChild, uint itemid, out object ppDispatchExtension);
abstract member GetBrowseExtender : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * obj -> int
Public Function GetBrowseExtender (pHierarchyChild As IVsHierarchy, itemid As UInteger, ByRef ppDispatchExtension As Object) As Integer

Parameters

pHierarchyChild
IVsHierarchy

[in]

itemid
UInt32
ppDispatchExtension
Object

[out]

Returns

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  
);  

Applies to