IVsFileChangeEx::IgnoreFile Method (UInt32, String^, Int32)
Visual Studio 2015
Ignores changes to a file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- VSCOOKIE
-
Type:
System::UInt32
[in] A VSCOOKIE that identifies the file. If you use this parameter to specify the file, then pszMkDocument must be set to null.
- pszMkDocument
-
Type:
System::String^
[in] String form of the moniker identifier of the document in the project system. In the case of documents that are files, this is always the path to the file. If you use this parameter to specify the file, then vsCookie must be set to null.
- fIgnore
-
Type:
System::Int32
[in] If true, then ignore the file changes. If false, then do not ignore the file changes.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsFileChangeEx::IgnoreFile( [in] VSCOOKIE vsCookie, [in] LPCOLESTR pszMkDocument, [in] BOOL fIgnore );
Use either the vsCookie or pszMkDocument parameter to specify the file. If both parameters are used, E_INVALIDARG is returned.
Show: