Bagikan melalui


IVsProjectFlavorReferences2 Interface

Adds a method to validate project references.

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

Syntax

'Declaration
<GuidAttribute("54BE5D82-5886-4EF1-97C0-81716586FB8A")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsProjectFlavorReferences2
[GuidAttribute("54BE5D82-5886-4EF1-97C0-81716586FB8A")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectFlavorReferences2
[GuidAttribute(L"54BE5D82-5886-4EF1-97C0-81716586FB8A")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsProjectFlavorReferences2
[<GuidAttribute("54BE5D82-5886-4EF1-97C0-81716586FB8A")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectFlavorReferences2 =  interface end
public interface IVsProjectFlavorReferences2

The IVsProjectFlavorReferences2 type exposes the following members.

Methods

  Name Description
Public method QueryCheckIsProjectReferenceOutputValid Called before adding a project reference. Allows the flavor to accept or reject a project reference based on the referenced project output path.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace