共用方式為


IVsLibraryReferenceManager.IncrementCheckCount(String, Object) Method

Definition

Called by the project referencing a component identified by its path when it is brought into scope.

public:
 int IncrementCheckCount(System::String ^ wszPath, System::Object ^ pVsLibrary);
public:
 int IncrementCheckCount(Platform::String ^ wszPath, Platform::Object ^ pVsLibrary);
int IncrementCheckCount(std::wstring const & wszPath, winrt::Windows::Foundation::IInspectable const & pVsLibrary);
public int IncrementCheckCount (string wszPath, object pVsLibrary);
abstract member IncrementCheckCount : string * obj -> int
Public Function IncrementCheckCount (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::IncrementCheckCount(  
   [in] LPCOLESTR wszPath,   
   [in] IUnknown* pVsLibrary  
);  

Applies to