IVsHierarchyEvents::OnPropertyChanged Method (UInt32, Int32, UInt32)

 

Notifies clients when one or more properties of an item have changed.

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

int OnPropertyChanged(
	unsigned int itemid,
	int propid,
	unsigned int flags
)

Parameters

itemid
Type: System::UInt32

[in] Identifier of the item whose property has changed. For a list of itemid values, see VSITEMID.

propid
Type: System::Int32

[in] Identifier of the property of itemid. For a list of propid values, see __VSHPROPID.

flags
Type: System::UInt32

[in] Not implemented.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsHierarchyEvents::OnPropertyChanged(
   [in] VSITEMID itemid,
   [in] VSHPROPID propid,
   [in] DWORD flags);

Use this notification to update the internal state of the hierarchy when one or more properties have changed.

Return to top
Show: