IVsLibraryReferenceManager::RemoveComponentReference Method (String^, Object^)

 

Called by the project when removing a reference to a component identified by its path.

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

int RemoveComponentReference(
	String^ wszPath,
	Object^ pVsLibrary
)

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.

From vsshell.idl:

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