IVsSimpleLibrary2.RemoveBrowseContainer Method

Removes a Browse Container being browsed by the library.

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

Syntax

‘선언
Function RemoveBrowseContainer ( _
    dwReserved As UInteger, _
    pszLibName As String _
) As Integer
‘사용 방법
Dim instance As IVsSimpleLibrary2
Dim dwReserved As UInteger
Dim pszLibName As String
Dim returnValue As Integer

returnValue = instance.RemoveBrowseContainer(dwReserved, _
    pszLibName)
int RemoveBrowseContainer(
    uint dwReserved,
    string pszLibName
)
int RemoveBrowseContainer(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] String^ pszLibName
)
abstract RemoveBrowseContainer : 
        dwReserved:uint32 * 
        pszLibName:string -> int 
function RemoveBrowseContainer(
    dwReserved : uint, 
    pszLibName : String
) : int

Parameters

  • dwReserved
    Type: System.UInt32
    [in] Reserved. Set this parameter to nulla null reference (Nothing in Visual Basic).
  • pszLibName
    Type: System.String
    [in] A 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.

Remarks

COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also

Reference

IVsSimpleLibrary2 Interface

IVsSimpleLibrary2 Members

Microsoft.VisualStudio.Shell.Interop Namespace