IVsLibraryReferenceManager.RemoveComponentReference(String, Object) Yöntem

Tanım

Yolu tarafından tanımlanan bir bileşene başvuru kaldırılırken proje tarafından çağırılır.

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

Parametreler

wszPath
String

'ndaki Yolu tarafından tanımlanan bir bileşene başvuru.

pVsLibrary
Object

'Ndaki PVsLibrary türünde bir nesne için bir işaretçi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsLibraryReferenceManager::RemoveComponentReference(  
   [in] LPCOLESTR wszPath,   
   [in] IUnknown* pVsLibrary  
);  

Şunlara uygulanır