Freigeben über


IVsLibrary2.RemoveBrowseContainer(UInt32, String) Method

Definition

Removes a Browse Container being browsed by the library.

public:
 int RemoveBrowseContainer(System::UInt32 dwReserved, System::String ^ pszLibName);
public:
 int RemoveBrowseContainer(unsigned int dwReserved, Platform::String ^ pszLibName);
int RemoveBrowseContainer(unsigned int dwReserved, std::wstring const & pszLibName);
public int RemoveBrowseContainer (uint dwReserved, string pszLibName);
abstract member RemoveBrowseContainer : uint32 * string -> int
Public Function RemoveBrowseContainer (dwReserved As UInteger, pszLibName As String) As Integer

Parameters

dwReserved
UInt32

[in] Reserved. Set this parameter to null.

pszLibName
String

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsLibrary2::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.

Applies to