-
Notifications
You must be signed in to change notification settings - Fork 13
/
CommandBars.xml
48 lines (48 loc) · 3.61 KB
/
CommandBars.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<Type Name="CommandBars" FullName="Microsoft.Office.Core.CommandBars">
<TypeSignature Language="C++ CLI" Value="public interface class CommandBars : Microsoft::Office::Core::_CommandBars, Microsoft::Office::Core::_CommandBarsEvents_Event" />
<TypeSignature Language="C#" Value="public interface CommandBars : Microsoft.Office.Core._CommandBars, Microsoft.Office.Core._CommandBarsEvents_Event" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract CommandBars implements class Microsoft.Office.Core._CommandBars, class Microsoft.Office.Core._CommandBarsEvents_Event" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Core.CommandBars" />
<TypeSignature Language="VB.NET" Value="Public Interface CommandBars
Implements _CommandBars, _CommandBarsEvents_Event" />
<TypeSignature Language="F#" Value="type CommandBars = interface
 interface _CommandBars
 interface _CommandBarsEvents_Event" />
<AssemblyInfo>
<AssemblyName>office</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Core._CommandBars</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.Office.Core._CommandBarsEvents_Event</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.Office.Core._IMsoDispObj</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Core.CommandBarsClass))]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Core.CommandBarsClass))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Guid("000C0302-0000-0000-C000-000000000046")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Guid("000C0302-0000-0000-C000-000000000046")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A collection of <see cref="T:Microsoft.Office.Core.CommandBar" /> objects that represent the command bars in the container application.</summary>
<remarks>
<para>Use the <see cref="P:Microsoft.Office.Core.MsoEnvelopeClass.CommandBars" /> property to return the <b>CommandBars</b> collection.</para>
<para>Use the <see cref="M:Microsoft.Office.Core._CommandBars.Add(System.Object,System.Object,System.Object,System.Object)" /> method to add a new command bar to the collection.</para>
<para>Use <b>CommandBars</b>(<paramref name="index" />), where <paramref name="index" /> is the name or index number of a command bar, to return a single <b>CommandBar</b> object.</para>
<para>
<b>Note</b>: You can use the name or index number to specify a menu bar or toolbar in the list of available menu bars and toolbars in the container application. However, you must use the name to specify a menu, shortcut menu, or submenu (all of which are represented by <b>CommandBar</b> objects). If two or more custom menus or submenus have the same name, <b>CommandBars</b>(<paramref name="index" />) returns the first one. To ensure that you return the correct menu or submenu, locate the pop-up control that displays that menu. Then apply the <see cref="P:Microsoft.Office.Core.CommandBarPopup.CommandBar" /> property to the pop-up control to return the command bar that represents that menu.</para>
<para />
</remarks>
</Docs>
<Members />
</Type>