Share via


IVsCommandWindowsCollection.Close(UInt32) Method

Definition

Closes the specified command window.

public:
 int Close(System::UInt32 uCookie);
public:
 int Close(unsigned int uCookie);
int Close(unsigned int uCookie);
public int Close (uint uCookie);
abstract member Close : uint32 -> int
Public Function Close (uCookie As UInteger) As Integer

Parameters

uCookie
UInt32

[in] A cookie, returned by Create(UInt32, UInt32, Int32, UInt32), specifying the window to close.

Returns

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  
);  

Applies to