Compartir a través de


VCReferences.AddAssemblyReferenceWithStrongNameEx Method

Definition

Adds an assembly (.NET) reference to the selected project using its strong name.

public:
 System::Object ^ AddAssemblyReferenceWithStrongNameEx(System::String ^ bstrRef, System::String ^ bstrAssemblyName, [Runtime::InteropServices::Out] bool % created);
winrt::Windows::Foundation::IInspectable AddAssemblyReferenceWithStrongNameEx(std::wstring const & bstrRef, std::wstring const & bstrAssemblyName, [Runtime::InteropServices::Out] bool & created);
[System.Runtime.InteropServices.DispId(914)]
public object AddAssemblyReferenceWithStrongNameEx (string bstrRef, string bstrAssemblyName, out bool created);
[<System.Runtime.InteropServices.DispId(914)>]
abstract member AddAssemblyReferenceWithStrongNameEx : string * string * bool -> obj
Public Function AddAssemblyReferenceWithStrongNameEx (bstrRef As String, bstrAssemblyName As String, ByRef created As Boolean) As Object

Parameters

bstrRef
String

A string representing the path of the assembly to add.

bstrAssemblyName
String

Strong name of the asembly.

created
Boolean

When this method returns, contains true if the reference is created; otherwise, false. This parameter is passed uninitialized.

Returns

The path of the assembly.

Attributes

Remarks

This method is the same as the AddAssemblyReferenceWithStrongName method, but includes the created parameter to support interoperability.

Applies to