Compartilhar via


IVsPersistHierarchyItem2.IsItemDirty(UInt32, IntPtr, Int32) Method

Definition

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  
);  

Applies to