IVsLibrary::RemoveBrowseContainer Method (UInt32, String^)

 

Removes a Browse Container being browsed by the library.

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

int RemoveBrowseContainer(
	unsigned int dwReserved,
	String^ pszLibName
)

Parameters

dwReserved
Type: System::UInt32

[in] Reserved. Set this parameter to null.

pszLibName
Type: System::String^

[in] Pointer to a null-terminated string containing the library name.

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 IVsLibrary::RemoveBrowseContainer(
   [in] DWORD dwReserved,
   [in] LPCWSTR pszLibName
);

Stop browsing the component identified by pszLibName. The pszLibName parameter is equivalent to that returned through the GetText method for this browse container. This method is only meaningful for registered libraries with global browse containers.

Return to top
Show: