IVsPersistHierarchyItem2.IsItemDirty(UInt32, IntPtr, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the hierarchy item changed.
public:
int IsItemDirty(System::UInt32 itemid, IntPtr punkDocData, [Runtime::InteropServices::Out] int % pfDirty);
public int IsItemDirty (uint itemid, IntPtr punkDocData, out int pfDirty);
abstract member IsItemDirty : uint32 * nativeint * int -> int
Public Function IsItemDirty (itemid As UInteger, punkDocData As IntPtr, ByRef pfDirty As Integer) As Integer
Parameters
- itemid
- UInt32
[in] Item identifier of the hierarchy item contained in VSITEMID
.
- punkDocData
-
IntPtr
nativeint
[in] Pointer to the IUnknown
interface of the hierarchy item.
- pfDirty
- Int32
[out] true
if the hierarchy item changed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPersistHierarchyItem2::IsItemDirty(
[in] VSITEMID itemid,
[in] IUnknown *punkDocData,
[out] BOOL *pfDirty
);