Partager via


IVsProjectFlavorReferences3 Interface

Definition

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

public interface class IVsProjectFlavorReferences3
public interface class IVsProjectFlavorReferences3
__interface IVsProjectFlavorReferences3
[System.Runtime.InteropServices.Guid("005431FC-CF9C-4154-9B28-EC975D88948D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectFlavorReferences3
[<System.Runtime.InteropServices.Guid("005431FC-CF9C-4154-9B28-EC975D88948D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectFlavorReferences3 = interface
Public Interface IVsProjectFlavorReferences3
Attributes

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.

Methods

QueryAddProjectReferenceEx(Object, Int32, UInt32, String)

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.

QueryCanBeReferencedEx(Object, Int32, UInt32, String)

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.

Applies to