共用方式為


VCReferences.AddProjectReferenceByIdentifier(String) Method

Definition

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

public:
 System::Object ^ AddProjectReferenceByIdentifier(System::String ^ Identifier);
public:
 Platform::Object ^ AddProjectReferenceByIdentifier(Platform::String ^ Identifier);
winrt::Windows::Foundation::IInspectable AddProjectReferenceByIdentifier(std::wstring const & Identifier);
[System.Runtime.InteropServices.DispId(910)]
public object AddProjectReferenceByIdentifier (string Identifier);
[<System.Runtime.InteropServices.DispId(910)>]
abstract member AddProjectReferenceByIdentifier : string -> obj
Public Function AddProjectReferenceByIdentifier (Identifier As String) As Object

Parameters

Identifier
String

Unique identifier of the assembly.

Returns

The path of the assembly.

Attributes

Applies to