IVsProjectFlavorReferences3 Interface

Allows the project subtype (flavor) to control certain aspects of project reference handling.

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

Syntax

'Declaration
<GuidAttribute("005431FC-CF9C-4154-9B28-EC975D88948D")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsProjectFlavorReferences3
[GuidAttribute("005431FC-CF9C-4154-9B28-EC975D88948D")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectFlavorReferences3
[GuidAttribute(L"005431FC-CF9C-4154-9B28-EC975D88948D")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsProjectFlavorReferences3
[<GuidAttribute("005431FC-CF9C-4154-9B28-EC975D88948D")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectFlavorReferences3 =  interface end
public interface IVsProjectFlavorReferences3

The IVsProjectFlavorReferences3 type exposes the following members.

Methods

  Name Description
Public method QueryAddProjectReferenceEx Called before this flavored project attempts to make a reference to another project, or before this flavored project attempts to refresh an existing project reference. This flavored project can refuse referencing another project.
Public method QueryCanBeReferencedEx Called before another project attempts to make a reference to this flavored project, or before another project attempts to refresh an existing project reference to this flavored project. This flavored project can refuse being referenced.

Top

Remarks

This interface is similar to IVsProjectFlavorReferences, but provides more information for the flavor. Instead of outputting a Boolean to allow or deny a project reference in IVsProjectFlavorReferences, this interface outputs __VSREFERENCEQUERYRESULT to represent allow, deny, or unknown.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace