共用方式為


IVsLibraryReferenceManager.DecrementCheckCount(String, Object) Method

Definition

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

public:
 int DecrementCheckCount(System::String ^ wszPath, System::Object ^ pVsLibrary);
public:
 int DecrementCheckCount(Platform::String ^ wszPath, Platform::Object ^ pVsLibrary);
int DecrementCheckCount(std::wstring const & wszPath, winrt::Windows::Foundation::IInspectable const & pVsLibrary);
public int DecrementCheckCount (string wszPath, object pVsLibrary);
abstract member DecrementCheckCount : string * obj -> int
Public Function DecrementCheckCount (wszPath As String, pVsLibrary As Object) As Integer

Parameters

wszPath
String

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

pVsLibrary
Object

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

Returns

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

);

Applies to