次の方法で共有


IVsSolutionBuildManager3.AdviseUpdateSolutionEvents3 Method

Definition

Establishes client notification of solution events.

public:
 int AdviseUpdateSolutionEvents3(Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents3 ^ pIVsUpdateSolutionEvents3, [Runtime::InteropServices::Out] System::UInt32 % pdwCookie);
int AdviseUpdateSolutionEvents3(Microsoft::VisualStudio::Shell::Interop::IVsUpdateSolutionEvents3 const & pIVsUpdateSolutionEvents3, [Runtime::InteropServices::Out] unsigned int & pdwCookie);
public int AdviseUpdateSolutionEvents3 (Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents3 pIVsUpdateSolutionEvents3, out uint pdwCookie);
abstract member AdviseUpdateSolutionEvents3 : Microsoft.VisualStudio.Shell.Interop.IVsUpdateSolutionEvents3 * uint32 -> int
Public Function AdviseUpdateSolutionEvents3 (pIVsUpdateSolutionEvents3 As IVsUpdateSolutionEvents3, ByRef pdwCookie As UInteger) As Integer

Parameters

pIVsUpdateSolutionEvents3
IVsUpdateSolutionEvents3

[in] Pointer to the IVsSolutionEvents3 interface on the object requesting notification of solution events.

pdwCookie
UInt32

[out] Pointer to a double word containing the cookie.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSolutionBuildManager3::AdviseUpdateSolutionEvents3(  
   [in] IVsUpdateSolutionEvents3 *pIVsUpdateSolutionEvents3,   
   [out] VSCOOKIE *pdwCookie  
);  

Applies to