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
'Deklarace
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: System.String
Unique identifier of the assembly.
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.