Partager via


IVsCommandWindowsCollection.Close Method

Closes the specified command window.

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

Syntax

'Déclaration
Function Close ( _
    uCookie As UInteger _
) As Integer
'Utilisation
Dim instance As IVsCommandWindowsCollection
Dim uCookie As UInteger
Dim returnValue As Integer

returnValue = instance.Close(uCookie)
int Close(
    uint uCookie
)
int Close(
    [InAttribute] unsigned int uCookie
)
abstract Close : 
        uCookie:uint32 -> int 
function Close(
    uCookie : uint
) : int

Parameters

  • uCookie
    Type: System.UInt32
    [in] A cookie, returned by Create, specifying the window to close.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

C++

From vsshell80.idl:

HRESULT Close(
    [in]    UINT uCookie
);

.NET Framework Security

See Also

Reference

IVsCommandWindowsCollection Interface

IVsCommandWindowsCollection Members

Microsoft.VisualStudio.Shell.Interop Namespace