Commands2.Add(String, Int32, Object) Метод

Определение

Только для внутреннего использования в корпорации Майкрософт.

public:
 void Add(System::String ^ Guid, int ID, System::Object ^ % Control);
void Add(std::wstring const & Guid, int ID, winrt::Windows::Foundation::IInspectable const & & Control);
[System.Runtime.InteropServices.DispId(3)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public void Add (string Guid, int ID, ref object Control);
[<System.Runtime.InteropServices.DispId(3)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member Add : string * int * obj -> unit
Public Sub Add (Guid As String, ID As Integer, ByRef Control As Object)

Параметры

Guid
String

GUID команды.

ID
Int32

Идентификатор команды.

Control
Object

Элемент управления, отображаемый на этой панели инструментов.

Реализации

Атрибуты

Применяется к