Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsCommandWindowsCollection Interface