IVsItemTypeResolutionSite.AddReference(String) 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.
Ajoute au projet une référence.
public:
int AddReference(System::String ^ bstrReferencePath);
public:
int AddReference(Platform::String ^ bstrReferencePath);
int AddReference(std::wstring const & bstrReferencePath);
public int AddReference (string bstrReferencePath);
abstract member AddReference : string -> int
Public Function AddReference (bstrReferencePath As String) As Integer
Paramètres
- bstrReferencePath
- String
[in] Chaîne contenant la référence à ajouter.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.