Aracılığıyla paylaş


VCReferences.AddAssemblyReference(String) Method

Definition

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

Applies to