IVsIntellisenseProject.RemoveFile(String, UInt32) 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.
Removes a file from the project.
public:
int RemoveFile(System::String ^ bstrAbsPath, System::UInt32 itemid);
public:
int RemoveFile(Platform::String ^ bstrAbsPath, unsigned int itemid);
int RemoveFile(std::wstring const & bstrAbsPath, unsigned int itemid);
public int RemoveFile (string bstrAbsPath, uint itemid);
abstract member RemoveFile : string * uint32 -> int
Public Function RemoveFile (bstrAbsPath As String, itemid As UInteger) As Integer
Parameters
- bstrAbsPath
- String
[in] String containing the complete path to the file.
- itemid
- UInt32
[in] The item identifier (VSITEMID) of the file.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.