IVsPersistHierarchyItem2::IgnoreItemFileChanges Method (UInt32, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int IgnoreItemFileChanges(
	unsigned int itemid,
	int fIgnore
)

Parameters

itemid
Type: System::UInt32

[in] Specifies the item id from VSITEMID.

fIgnore
Type: System::Int32

[in] Flag indicating ignore.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsPersistHierarchyItem2::IgnoreItemFileChanges(
   [in] VSITEMID itemid, [in] BOOL fIgnore
);
Return to top
Show: