Compartir a través de


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

'Declaración
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

See Also

Reference

VCReferences Interface

Microsoft.VisualStudio.VCProjectEngine Namespace