Udostępnij za pośrednictwem


Commands2.Add(String, Int32, Object) Method

Definition

Microsoft internal use only.

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)]
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
[<System.Runtime.InteropServices.DispId(3)>]
abstract member Add : string * int * obj -> unit
Public Sub Add (Guid As String, ID As Integer, ByRef Control As Object)

Parameters

Guid
String

The GUID of the command.

ID
Int32

The command ID.

Control
Object

The control that appears on the toolbar.

Implements

Attributes

Applies to