IVsIntellisenseProject.RemoveFile(String, UInt32) Méthode

Définition

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

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

S’applique à