VCReferences.CanAddProjectReference(Object) VCReferences.CanAddProjectReference(Object) VCReferences.CanAddProjectReference(Object) VCReferences.CanAddProjectReference(Object) Method

Definition

Returns a value indicating whether to add the given project reference.

public:
 bool CanAddProjectReference(System::Object ^ proj);
[System.Runtime.InteropServices.DispId(905)]
public bool CanAddProjectReference (object proj);
abstract member CanAddProjectReference : obj -> bool
Public Function CanAddProjectReference (proj As Object) As Boolean
Parameters
proj
Object Object Object Object

The project reference.

Returns

true to add the given project reference; otherwise, false.

Remarks

This method is generally used in conjunction with the AddProjectReference method. You use this method to determine whether it is okay to add a project reference, and if it is, then you call AddProjectReference.

Applies to