共用方式為


VCReferences.AddAssemblyReferenceWithStrongName(String, String) Method

Definition

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

public:
 System::Object ^ AddAssemblyReferenceWithStrongName(System::String ^ bstrRef, System::String ^ bstrAssemblyName);
public:
 Platform::Object ^ AddAssemblyReferenceWithStrongName(Platform::String ^ bstrRef, Platform::String ^ bstrAssemblyName);
winrt::Windows::Foundation::IInspectable AddAssemblyReferenceWithStrongName(std::wstring const & bstrRef, std::wstring const & bstrAssemblyName);
[System.Runtime.InteropServices.DispId(908)]
public object AddAssemblyReferenceWithStrongName (string bstrRef, string bstrAssemblyName);
[<System.Runtime.InteropServices.DispId(908)>]
abstract member AddAssemblyReferenceWithStrongName : string * string -> obj
Public Function AddAssemblyReferenceWithStrongName (bstrRef As String, bstrAssemblyName As String) As Object

Parameters

bstrRef
String

A string representing the path of the assembly to add.

bstrAssemblyName
String

Strong name of the asembly.

Returns

The path of the assembly.

Attributes

Applies to