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