IVsSimpleObjectList2::GetBrowseObject Method (UInt32, Object^)
Visual Studio 2015
Returns a pointer to the property browse IDispatch for the given list item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- index
-
Type:
System::UInt32
[in] Specifies the index of the list item of interest.
- ppdispBrowseObj
-
Type:
System::Object^
[out] Pointer to an IDispatch object that is used to populate the Properties window.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsSimpleObjectList2::GetBrowseObject(
[in] ULONG Index,
[out] IDispatch **ppdispBrowseObj
);
This method is called on the list when the list item is selected in the tool UI. This applies to both the Class View and Object Browser tools. Many implementations, such as C++, simply reuse the CodeModel automation objects as the property browse objects.
You may return E_NOTIMPL if you don't support symbol level property browsing.
Show: