IVsUIShell.PostSetFocusMenuCommand(Guid, UInt32) Methode

Definition

Festlegen des Fokus in einem Kombinationsfeld.

public:
 int PostSetFocusMenuCommand(Guid % pguidCmdGroup, System::UInt32 nCmdID);
public int PostSetFocusMenuCommand (ref Guid pguidCmdGroup, uint nCmdID);
abstract member PostSetFocusMenuCommand : Guid * uint32 -> int
Public Function PostSetFocusMenuCommand (ByRef pguidCmdGroup As Guid, nCmdID As UInteger) As Integer

Parameter

pguidCmdGroup
Guid

[in] Zeiger auf eine GUID, die die Befehlsgruppe angibt.

nCmdID
UInt32

[in] Ganze Zahl, die die ID der Befehlsgruppe enthält.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell. idl:

HRESULT IVsUIShell::PostSetFocusMenuCommand(  
   [in, unique] const GUID *pguidCmdGroup,  
   [in] DWORD nCmdId  
);  

Gilt für