次の方法で共有


IVsIntellisenseProject.AddAssemblyReference(String) Method

Definition

Adds an assembly reference to the project.

public:
 int AddAssemblyReference(System::String ^ bstrAbsPath);
public:
 int AddAssemblyReference(Platform::String ^ bstrAbsPath);
int AddAssemblyReference(std::wstring const & bstrAbsPath);
public int AddAssemblyReference (string bstrAbsPath);
abstract member AddAssemblyReference : string -> int
Public Function AddAssemblyReference (bstrAbsPath As String) As Integer

Parameters

bstrAbsPath
String

[in] String containing the full path to the assembly.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to