IVsUIShell::RefreshPropertyBrowser Method (Int32)
Visual Studio 2015
Makes it possible for a project (or any other selected object being browsed by the Properties window) to keep the Properties window in sync with property changes without implementing IConnectionPointContainer and firing OnChanged events.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dispid
-
Type:
System::Int32
[in] Dispatch ID of the property that has changed. Pass DISPID_UNKNOWN to refresh all properties.
From vsshell.idl:
HRESULT IVsUIShell::RefreshPropertyBrowser(
[in]DISPID dispid
);
Implementing IConnectionPointContainer on the selectable objects of a hierarchy is more work than is required. When the properties of an object changes, the object can call IVsUIShell.RefreshPropertyBrowser to tell the Properties window to update (at the same point the object would otherwise have been expected to fire OnChanged).
Show: