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
pHierarchyChild
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in]
- itemid
Type: UInt32
ppDispatchExtension
Type: Object%[out]
Return Value
Type: 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
- 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.