VCReferences.AddAssemblyReferenceWithStrongNameEx Method (String, String, Boolean)

 

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

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

object AddAssemblyReferenceWithStrongNameEx(
	string bstrRef,
	string bstrAssemblyName,
	out bool created
)

Parameters

bstrRef
Type: System.String

A string representing the path of the assembly to add.

bstrAssemblyName
Type: System.String

Strong name of the asembly.

created
Type: System.Boolean

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

Return Value

Type: System.Object

The path of the assembly.

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

Return to top
Show: