IVsItemTypeResolutionSite.AddReference(String) 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.
Adds a reference to the project.
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
Parameters
- bstrReferencePath
- String
[in] String containing the reference to add.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.