共用方式為


IVsSolutionBuildManager2.UnadviseUpdateSolutionEvents Method

Removes the caller from the list of listeners for IVsUpdateSolutionEvents2 events.

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

Syntax

'宣告
Function UnadviseUpdateSolutionEvents ( _
    dwCookie As UInteger _
) As Integer
'用途
Dim instance As IVsSolutionBuildManager2
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseUpdateSolutionEvents(dwCookie)
int UnadviseUpdateSolutionEvents(
    uint dwCookie
)
int UnadviseUpdateSolutionEvents(
    [InAttribute] unsigned int dwCookie
)
function UnadviseUpdateSolutionEvents(
    dwCookie : uint
) : int

Parameters

Return Value

Type: System.Int32

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

Implements

IVsSolutionBuildManager.UnadviseUpdateSolutionEvents(UInt32)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionBuildManager2::UnadviseUpdateSolutionEvents(
   [in] VSCOOKIE dwCookie
);

Permissions

See Also

Reference

IVsSolutionBuildManager2 Interface

IVsSolutionBuildManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace