共用方式為


IVsSharedProjectQueryCanBeReferenced Interface

Definition

Gives a Shared Project a chance to veto the adding of a reference by a particular referencing project.

public interface class IVsSharedProjectQueryCanBeReferenced
public interface class IVsSharedProjectQueryCanBeReferenced
__interface IVsSharedProjectQueryCanBeReferenced
[System.Runtime.InteropServices.Guid("684863A4-BC6E-467C-8218-5C84CAB616DA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSharedProjectQueryCanBeReferenced
[<System.Runtime.InteropServices.Guid("684863A4-BC6E-467C-8218-5C84CAB616DA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSharedProjectQueryCanBeReferenced = interface
Public Interface IVsSharedProjectQueryCanBeReferenced
Attributes

Methods

QueryCanSharedProjectBeReferenced(IVsHierarchy)

Called by the EnumAllAvailableSharedProjects(IVsHierarchy) implementation in order to filter the list of Shared Projects to only valid choices for the ReferencingProject.

Applies to