Udostępnij za pośrednictwem


IVsPersistHierarchyItem2.IgnoreItemFileChanges(UInt32, Int32) Method

Definition

Flag indicating that changes to a file can be ignored when item is saved or reloaded.

public:
 int IgnoreItemFileChanges(System::UInt32 itemid, int fIgnore);
public:
 int IgnoreItemFileChanges(unsigned int itemid, int fIgnore);
int IgnoreItemFileChanges(unsigned int itemid, int fIgnore);
public int IgnoreItemFileChanges (uint itemid, int fIgnore);
abstract member IgnoreItemFileChanges : uint32 * int -> int
Public Function IgnoreItemFileChanges (itemid As UInteger, fIgnore As Integer) As Integer

Parameters

itemid
UInt32

[in] Specifies the item id from VSITEMID.

fIgnore
Int32

[in] Flag indicating ignore.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistHierarchyItem2::IgnoreItemFileChanges(  
   [in] VSITEMID itemid, [in] BOOL fIgnore  
);  

Applies to