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.
Retrieves a command window interface for the specified mode.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetCommandWindowFromMode ( _
mode As UInteger, _
<OutAttribute> ByRef ppunkCmdWindow As Object _
) As Integer
'Usage
Dim instance As IVsCommandWindowsCollection
Dim mode As UInteger
Dim ppunkCmdWindow As Object
Dim returnValue As Integer
returnValue = instance.GetCommandWindowFromMode(mode, _
ppunkCmdWindow)
int GetCommandWindowFromMode(
uint mode,
out Object ppunkCmdWindow
)
int GetCommandWindowFromMode(
[InAttribute] unsigned int mode,
[OutAttribute] Object^% ppunkCmdWindow
)
abstract GetCommandWindowFromMode :
mode:uint32 *
ppunkCmdWindow:Object byref -> int
function GetCommandWindowFromMode(
mode : uint,
ppunkCmdWindow : Object
) : int
Parameters
- mode
Type: System.UInt32
[in] A value of type __COMMANDWINDOWMODE2.
- ppunkCmdWindow
Type: System.Object%
[out] A pointer to a pointer to the IUnknown interface for the command window.
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 vsshel80l.idl:
HRESULT GetCommandWindowFromMode(
[in] COMMANDWINDOWMODE2 mode,
[out] IUnknown ** ppunkCmdWindow
);
.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