/
TaskPanes.xml
148 lines (146 loc) · 8.47 KB
/
TaskPanes.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<Type Name="TaskPanes" FullName="Microsoft.Office.Interop.InfoPath.TaskPanes">
<TypeSignature Language="C#" Value="public interface TaskPanes : System.Collections.IEnumerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract TaskPanes implements class System.Collections.IEnumerable" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.TaskPanes" />
<TypeSignature Language="VB.NET" Value="Public Interface TaskPanes
Implements IEnumerable" />
<TypeSignature Language="C++ CLI" Value="public interface class TaskPanes : System::Collections::IEnumerable" />
<TypeSignature Language="F#" Value="type TaskPanes = interface
 interface IEnumerable" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096CD58D-0786-11D1-95FA-0080C78EE3BB")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.TypeLibType(4160)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, see<see cref="T:Microsoft.Office.Interop.InfoPath.TaskPanesCollection" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Count">
<MemberSignature Language="C#" Value="public int Count { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Count" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.TaskPanes.Count" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Count As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 property int Count { int get(); };" />
<MemberSignature Language="F#" Value="member this.Count : int" Usage="Microsoft.Office.Interop.InfoPath.TaskPanes.Count" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a count of the number of the <see cref="T:Microsoft.Office.Interop.InfoPath.TaskPaneObject" /> objects contained in the collection.</summary>
<value>To be added.</value>
<remarks>
<para>In the following example, the <b>Count</b> property is used within a <b>for</b> loop to iterate through the collection of <b>TaskPane</b> objects. It checks the <see cref="P:Microsoft.Office.Interop.InfoPath.TaskPane.Visible" /> property of each <b>TaskPane</b> object and if it is <b>true</b>, sets it to <b>false</b>.</para>
<code>TaskPanes taskPanes;
taskPanes = thisXDocument.View.Window.TaskPanes;
for (int i=0; i &lt; taskPanes.<span class="label">Count</span>; i++)
{
if (taskPanes[i].Visible == true)
{
taskPanes[i].Visible = false;
}
}</code>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.IEnumerator GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.IEnumerator GetEnumerator() runtime managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.TaskPanes.GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Public Function GetEnumerator () As IEnumerator" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Collections::IEnumerator ^ GetEnumerator();" />
<MemberSignature Language="F#" Value="abstract member GetEnumerator : unit -> System.Collections.IEnumerator" Usage="taskPanes.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(-4)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.TypeLibFunc(1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets an <b>IEnumerator</b> that iterates over all entries in the <see cref="T:Microsoft.Office.Interop.InfoPath.TaskPanesCollection" /> object.</summary>
<returns>An <b>IEnumerator</b> that iterates over all entries in the <see cref="T:Microsoft.Office.Interop.InfoPath.TaskPanesCollection" /> object.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.TaskPane this[object varIndex] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.TaskPane Item(object)" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.TaskPanes.Item(System.Object)" />
<MemberSignature Language="VB.NET" Value="Default Public ReadOnly Property Item(varIndex As Object) As TaskPane" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::TaskPane ^ default[System::Object ^] { Microsoft::Office::Interop::InfoPath::TaskPane ^ get(System::Object ^ varIndex); };" />
<MemberSignature Language="F#" Value="member this.Item(obj) : Microsoft.Office.Interop.InfoPath.TaskPane" Usage="Microsoft.Office.Interop.InfoPath.TaskPanes.Item" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: System.Runtime.InteropServices.DispId(0)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.TaskPane</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="varIndex" Type="System.Object" />
</Parameters>
<Docs>
<param name="varIndex">A numeric expression that specifies the type of task pane. Based on the <see cref="T:Microsoft.Office.Interop.InfoPath.XdTaskPaneType" /> enumeration.</param>
<summary>Gets a reference to the specified the <see cref="T:Microsoft.Office.Interop.InfoPath.TaskPaneObject" /> object from the collection.</summary>
<value>To be added.</value>
<remarks>
<para>If the value provided for the <paramref name="varIndex" /> argument does not match any existing member of the collection, an error occurs.</para>
<para>After you have set a reference to the <b>TaskPaneObject</b> object that the <b>Item</b> property returns, you can access any of its properties and methods.</para>
<para />
</remarks>
<example>
<para>Because the <b>Item</b> property is the default property of the <see cref="T:Microsoft.Office.Interop.InfoPath.TaskPanesCollection" /> collection, it can be used as follows:</para>
<code>TaskPane taskPane = thisXDocument.View.Window.TaskPanes[4];</code>
</example>
</Docs>
</Member>
</Members>
</Type>