Compartilhar via


IVsProjectFileReloadManagerEvents Interface

Implemented by clients that coordinate files required for loading projects.You subscribe to these events via IVsSolution::AdviseSolutionEvents.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("2AE1E600-A58A-4A31-A534-AFCB7200542C")> _
Public Interface IVsProjectFileReloadManagerEvents
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("2AE1E600-A58A-4A31-A534-AFCB7200542C")]
public interface IVsProjectFileReloadManagerEvents
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"2AE1E600-A58A-4A31-A534-AFCB7200542C")]
public interface class IVsProjectFileReloadManagerEvents
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("2AE1E600-A58A-4A31-A534-AFCB7200542C")>]
type IVsProjectFileReloadManagerEvents =  interface end
public interface IVsProjectFileReloadManagerEvents

The IVsProjectFileReloadManagerEvents type exposes the following members.

Methods

  Name Description
Public method OnQueryAdditionalFilesToBeClosedBeforeProjectsReloaded Occurs before unloaded projects are reloaded by the user. The implementer of this event sink is expected to return the list of additional files that need to be closed before the projects can be reloaded. The unloaded projects' project files are already known to be closed and need not be included in the list that is returned by this method. The implementer does not need to look the files up in the Running Document Table to see if they are actually open. Visual Studio makes sure that the files are actually open in an editor (i.e. not registered in the RDT with the RDT_ProjSlnDocument flag set). These additional files are typically files imported or included by the unloaded project files that must be available in order for the reloading projects to open.

Top

Remarks

Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace