VCReferences.AddAssemblyReferenceWithStrongNameEx(String, String, Boolean) Método

Definição

Adiciona uma referência de assembly (.NET) ao projeto selecionado usando seu nome forte.

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

Parâmetros

bstrRef
String

Uma cadeia de caracteres que representa o caminho do assembly a ser adicionado.

bstrAssemblyName
String

Nome forte do asembly.

created
Boolean

Quando esse método retornar, conterá true se a referência foi criada; caso contrário, false . Este parâmetro é passado não inicializado.

Retornos

Object

O caminho do assembly.

Atributos

Comentários

Esse método é o mesmo que o AddAssemblyReferenceWithStrongName método, mas inclui o created parâmetro para dar suporte à interoperabilidade.

Aplica-se a