共用方式為


VCReferences.CanAddProjectReferenceByIdentifier(String) Method

Definition

Returns a value indicating whether to add the given project reference by refering to it by its unique identifier.

public:
 bool CanAddProjectReferenceByIdentifier(System::String ^ Identifier);
public:
 bool CanAddProjectReferenceByIdentifier(Platform::String ^ Identifier);
bool CanAddProjectReferenceByIdentifier(std::wstring const & Identifier);
[System.Runtime.InteropServices.DispId(911)]
public bool CanAddProjectReferenceByIdentifier (string Identifier);
[<System.Runtime.InteropServices.DispId(911)>]
abstract member CanAddProjectReferenceByIdentifier : string -> bool
Public Function CanAddProjectReferenceByIdentifier (Identifier As String) As Boolean

Parameters

Identifier
String

Unique identifier of the assembly.

Returns

true if the assembly reference can be added, false if it cannot.

Attributes

Applies to