VCReferences::CanAddProjectReference Method (Object^)

 

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

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

bool CanAddProjectReference(
	Object^ proj
)

Parameters

proj
Type: System::Object^

The project reference.

Return Value

Type: System::Boolean

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

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.

Return to top
Show: