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

'Declaration
Function Close ( _
    uCookie As UInteger _
) As Integer
int Close(
    uint uCookie
)
int Close(
    [InAttribute] unsigned int uCookie
)
abstract Close : 
        uCookie:uint32 -> int
function Close(
    uCookie : uint
) : int

Parameters

  • uCookie
    Type: UInt32

    [in] A cookie, returned by Create, specifying the window to close.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace