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
'Déclaration
Function OnPropertyChanged ( _
itemid As UInteger, _
propid As Integer, _
flags As UInteger _
) As Integer
'Utilisation
Dim instance As IVsHierarchyEvents
Dim itemid As UInteger
Dim propid As Integer
Dim flags As UInteger
Dim returnValue As Integer
returnValue = instance.OnPropertyChanged(itemid, _
propid, flags)
int OnPropertyChanged(
uint itemid,
int propid,
uint flags
)
int OnPropertyChanged(
[InAttribute] unsigned int itemid,
[InAttribute] int propid,
[InAttribute] unsigned int flags
)
function OnPropertyChanged(
itemid : uint,
propid : int,
flags : uint
) : int
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.
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.
Permissions
- 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.