IVsIntellisenseProject.RemoveFile(String, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime un fichier du projet.
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
Paramètres
- bstrAbsPath
- String
[in] [in] Chaîne contenant le chemin d'accès complet au fichier.
- itemid
- UInt32
[in] Identificateur d'élément (VSITEMID) du fichier.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.