IVsProjectFlavorReferences::QueryAddProjectReference Method (Object^, Int32)
Visual Studio 2015
Called before adding a reference to a flavored project. Allows the project to reject a reference.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pReferencedProject
-
Type:
System::Object^
[in] Pointer to the T:Microsoft.VisualStudio.IUnknown interface of the referenced project (project to be added).
- pbCanAdd
-
Type:
System::Int32
[out] Boolean. Set to true if the project can be added; false otherwise.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: