VCReferences.AddProjectReferenceByIdentifier Method
Adds an assembly (.NET) reference to the selected project using its unique identifier.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function AddProjectReferenceByIdentifier ( _
Identifier As String _
) As Object
Object AddProjectReferenceByIdentifier(
string Identifier
)
Object^ AddProjectReferenceByIdentifier(
[InAttribute] String^ Identifier
)
abstract AddProjectReferenceByIdentifier :
Identifier:string -> Object
function AddProjectReferenceByIdentifier(
Identifier : String
) : Object
Parameters
Identifier
Type: StringUnique identifier of the assembly.
Return Value
Type: 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.