VCReferences.AddProjectReferenceByIdentifierEx(String, Boolean) Method

Definition

Adds an assembly (.NET) reference to the selected project using its unique identifier.

[System.Runtime.InteropServices.DispId(916)]
public object AddProjectReferenceByIdentifierEx (string Identifier, out bool created);
Parameters
Identifier
String

Unique identifier of the assembly.

created
Boolean

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

Returns

The path of the assembly.

Remarks

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

Applies to