VCReferences.AddAssemblyReferenceWithStrongName(String, 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 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