IVsLibrary.RemoveBrowseContainer(UInt32, String) 方法

定义

删除库浏览的浏览容器。

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

参数

dwReserved
UInt32

[in] 保留。 将此参数设置为 null

pszLibName
String

中指向以 null 结尾的字符串的指针,该字符串包含库名称。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

HRESULT IVsLibrary::RemoveBrowseContainer(  
   [in] DWORD dwReserved,  
   [in] LPCWSTR pszLibName  
);  

停止浏览由标识的组件 pszLibNamepszLibName参数等效于通过 GetText 此浏览容器的方法返回的。 此方法仅对带有全局浏览容器的已注册库有意义。

适用于