VCReferences.AddAssemblyReference(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 an assembly (.NET) reference to the selected project.
public:
System::Object ^ AddAssemblyReference(System::String ^ bstrRef);
public:
Platform::Object ^ AddAssemblyReference(Platform::String ^ bstrRef);
winrt::Windows::Foundation::IInspectable AddAssemblyReference(std::wstring const & bstrRef);
[System.Runtime.InteropServices.DispId(900)]
public object AddAssemblyReference (string bstrRef);
[<System.Runtime.InteropServices.DispId(900)>]
abstract member AddAssemblyReference : string -> obj
Public Function AddAssemblyReference (bstrRef As String) As Object
Parameters
- bstrRef
- String
A string representing the path of the assembly to add.
Returns
The path of the assembly.
- Attributes