共用方式為


IVsSolutionBuildManager5.AdviseUpdateSolutionEvents4 Method

Definition

Subscribes to update solution events.

public:
 void AdviseUpdateSolutionEvents4(Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents4 ^ pIVsUpdateSolutionEvents4, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
void AdviseUpdateSolutionEvents4(Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents4 const & pIVsUpdateSolutionEvents4, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public void AdviseUpdateSolutionEvents4 (Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents4 pIVsUpdateSolutionEvents4, out uint pdwCookie);
abstract member AdviseUpdateSolutionEvents4 : Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents4 * uint32 -> unit
Public Sub AdviseUpdateSolutionEvents4 (pIVsUpdateSolutionEvents4 As IVsUpdateSolutionEvents4, ByRef pdwCookie As UInteger)

Parameters

pIVsUpdateSolutionEvents4
IVsUpdateSolutionEvents4

[in] The IVsUpdateSolutionEvents4 to which to register.

pdwCookie
UInt32

[out] The unique identifier used to unsubscribe from these events.

Applies to