VCReferences.CanAddAssemblyReferenceWithStrongName(String, String) Method

Definition

Returns a value indicating whether to add the given assembly (.NET) reference by refering to it by its strong name.

public:
 bool CanAddAssemblyReferenceWithStrongName(System::String ^ bstrRef, System::String ^ bstrAssemblyName);
public:
 bool CanAddAssemblyReferenceWithStrongName(Platform::String ^ bstrRef, Platform::String ^ bstrAssemblyName);
bool CanAddAssemblyReferenceWithStrongName(std::wstring const & bstrRef, std::wstring const & bstrAssemblyName);
[System.Runtime.InteropServices.DispId(909)]
public bool CanAddAssemblyReferenceWithStrongName (string bstrRef, string bstrAssemblyName);
[<System.Runtime.InteropServices.DispId(909)>]
abstract member CanAddAssemblyReferenceWithStrongName : string * string -> bool
Public Function CanAddAssemblyReferenceWithStrongName (bstrRef As String, bstrAssemblyName As String) As Boolean

Parameters

bstrRef
String

A string representing the path of the assembly.

bstrAssemblyName
String

Strong name of the assembly.

Returns

true if the assembly reference can be added, false if it cannot.

Attributes

Applies to