Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function AddAssemblyReferenceWithStrongName ( _
bstrRef As String, _
bstrAssemblyName As String _
) As Object
Object AddAssemblyReferenceWithStrongName(
string bstrRef,
string bstrAssemblyName
)
Object^ AddAssemblyReferenceWithStrongName(
[InAttribute] String^ bstrRef,
[InAttribute] String^ bstrAssemblyName
)
abstract AddAssemblyReferenceWithStrongName :
bstrRef:string *
bstrAssemblyName:string -> Object
function AddAssemblyReferenceWithStrongName(
bstrRef : String,
bstrAssemblyName : String
) : Object
Parameters
- bstrRef
Type: System.String
A string representing the path of the assembly to add.
- bstrAssemblyName
Type: System.String
Strong name of the asembly.
Return Value
Type: System.Object
The path of the assembly.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.