IVsLibraryReferenceManager.DecrementCheckCount Method

Called by the project referencing a component identified by its path when it is taken out of scope.

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

Syntax

'宣言
Function DecrementCheckCount ( _
    wszPath As String, _
    pVsLibrary As Object _
) As Integer
'使用
Dim instance As IVsLibraryReferenceManager
Dim wszPath As String
Dim pVsLibrary As Object
Dim returnValue As Integer

returnValue = instance.DecrementCheckCount(wszPath, _
    pVsLibrary)
int DecrementCheckCount(
    string wszPath,
    Object pVsLibrary
)
int DecrementCheckCount(
    [InAttribute] String^ wszPath, 
    [InAttribute] Object^ pVsLibrary
)
function DecrementCheckCount(
    wszPath : String, 
    pVsLibrary : Object
) : int

Parameters

  • wszPath
    Type: System.String

    [In] Reference to a component identified by its path.

  • pVsLibrary
    Type: System.Object

    [In] A pointer to an object of type pVsLibrary.

Return Value

Type: System.Int32

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLibraryReferenceManager::DecrementCheckCount(

   [in] LPCOLESTR wszPath,

   [in] IUnknown* pVsLibrary

);

Permissions

See Also

Reference

IVsLibraryReferenceManager Interface

IVsLibraryReferenceManager Members

Microsoft.VisualStudio.Shell.Interop Namespace