IVsHierarchyEvents.OnPropertyChanged Method
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)
Syntax
'Declaration
Function OnPropertyChanged ( _
itemid As UInteger, _
propid As Integer, _
flags As UInteger _
) As Integer
int OnPropertyChanged(
uint itemid,
int propid,
uint flags
)
int OnPropertyChanged(
[InAttribute] unsigned int itemid,
[InAttribute] int propid,
[InAttribute] unsigned int flags
)
abstract OnPropertyChanged :
itemid:uint32 *
propid:int *
flags:uint32 -> int
function OnPropertyChanged(
itemid : uint,
propid : int,
flags : uint
) : int
Parameters
itemid
Type: UInt32[in] Identifier of the item whose property has changed. For a list of itemid values, see VSITEMID.
propid
Type: Int32[in] Identifier of the property of itemid. For a list of propid values, see __VSHPROPID.
flags
Type: UInt32[in] Not implemented.
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 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.
.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.