IVsReferenceManager::QueryCanReferenceProject Method (IVsHierarchy^, IVsHierarchy^)

 

Allows a client to determine if one project can reference another based on the Visual Studio default reference algorithm.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

unsigned int QueryCanReferenceProject(
	IVsHierarchy^ pReferencing,
	IVsHierarchy^ pReferenced
)

Parameters

pReferencing
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] The project that is doing the referencing.

pReferenced
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

[in] The project being referenced.

Return Value

Type: System::UInt32

The result of the query.

Return to top
Show: