IVsLibrary.RemoveBrowseContainer(UInt32, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除库浏览的浏览容器。
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 结尾的字符串的指针,该字符串包含库名称。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsLibrary::RemoveBrowseContainer(
[in] DWORD dwReserved,
[in] LPCWSTR pszLibName
);
停止浏览由标识的组件 pszLibName 。 pszLibName参数等效于通过 GetText 此浏览容器的方法返回的。 此方法仅对带有全局浏览容器的已注册库有意义。