次の方法で共有


IVsReferenceManager.QueryCanReferenceProject Method

Definition

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

public:
 System::UInt32 QueryCanReferenceProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pReferencing, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pReferenced);
public:
 unsigned int QueryCanReferenceProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pReferencing, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pReferenced);
unsigned int QueryCanReferenceProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pReferencing, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pReferenced);
public uint QueryCanReferenceProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pReferencing, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pReferenced);
abstract member QueryCanReferenceProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> uint32
Public Function QueryCanReferenceProject (pReferencing As IVsHierarchy, pReferenced As IVsHierarchy) As UInteger

Parameters

pReferencing
IVsHierarchy

[in] The project that is doing the referencing.

pReferenced
IVsHierarchy

[in] The project being referenced.

Returns

The result of the query.

Applies to