-
Notifications
You must be signed in to change notification settings - Fork 8
/
TaskPanesCollection.xml
40 lines (40 loc) · 3.3 KB
/
TaskPanesCollection.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
<Type Name="TaskPanesCollection" FullName="Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanesCollection">
<TypeSignature Language="C#" Value="public interface TaskPanesCollection : Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanes" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract TaskPanesCollection implements class Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanes" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanesCollection" />
<TypeSignature Language="VB.NET" Value="Public Interface TaskPanesCollection
Implements TaskPanes" />
<TypeSignature Language="C++ CLI" Value="public interface class TaskPanesCollection : Microsoft::Office::Interop::InfoPath::SemiTrust::TaskPanes" />
<TypeSignature Language="F#" Value="type TaskPanesCollection = interface
 interface TaskPanes" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanes</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanesCollectionWrapper))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096cd58d-0786-11d1-95fa-0080c78ee3bb")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Contains a collection of <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPaneObject" /> objects that represent the task panes associated with a window in Microsoft InfoPath.</summary>
<remarks>
<para>This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see<see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.TaskPanes" />.</para>
<para>The <b>TaskPanesCollection</b> collection provides properties that can be used to access a collection of task pane objects, and it is accessed through the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Window2.TaskPanes" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" /> object.</para>
<para>
<b>Note</b>: The <b>TaskPanesCollection</b> collection can be used only to get the count of the <b>TaskPaneObject</b> objects that it contains and to return a reference to a specified <b>TaskPaneObject</b> object. It cannot be used to add or remove <b>TaskPaneObject</b> objects.</para>
<para />
</remarks>
<example>
<para>In the following example, the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Window2.TaskPanes" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" /> object is used to set a reference to the <b>TaskPanes</b> collection:</para>
<code><span class="label">TaskPanes</span> taskPanes = thisApplication.ActiveWindow.<span class="label">TaskPanes</span>;</code>
</example>
</Docs>
<Members />
</Type>