다음을 통해 공유


IVsReferenceManager.QueryCanReferenceProject Method

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)

Syntax

'Declaration
Function QueryCanReferenceProject ( _
    pReferencing As IVsHierarchy, _
    pReferenced As IVsHierarchy _
) As UInteger
uint QueryCanReferenceProject(
    IVsHierarchy pReferencing,
    IVsHierarchy pReferenced
)
unsigned int QueryCanReferenceProject(
    [InAttribute] IVsHierarchy^ pReferencing, 
    [InAttribute] IVsHierarchy^ pReferenced
)
abstract QueryCanReferenceProject : 
        pReferencing:IVsHierarchy * 
        pReferenced:IVsHierarchy -> uint32
function QueryCanReferenceProject(
    pReferencing : IVsHierarchy, 
    pReferenced : IVsHierarchy
) : uint

Parameters

Return Value

Type: UInt32
The result of the query.

.NET Framework Security

See Also

Reference

IVsReferenceManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace