Compartir a través de


IVsProjectFileReloadManagerEvents Interface

Definition

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

public interface class IVsProjectFileReloadManagerEvents
public interface class IVsProjectFileReloadManagerEvents
__interface IVsProjectFileReloadManagerEvents
[System.Runtime.InteropServices.Guid("2AE1E600-A58A-4A31-A534-AFCB7200542C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsProjectFileReloadManagerEvents
[<System.Runtime.InteropServices.Guid("2AE1E600-A58A-4A31-A534-AFCB7200542C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsProjectFileReloadManagerEvents = interface
Public Interface IVsProjectFileReloadManagerEvents
Attributes

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.

Methods

OnQueryAdditionalFilesToBeClosedBeforeProjectsReloaded(Int32, Guid[])

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.

Applies to