Commands.Add(String, Int32, Object) 方法

定义

仅 Microsoft 内部。

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

命令 ID。

Control
Object

控件。

属性

适用于