-
Notifications
You must be signed in to change notification settings - Fork 8
/
ViewInfos.xml
134 lines (134 loc) · 8.73 KB
/
ViewInfos.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
<Type Name="ViewInfos" FullName="Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfos">
<TypeSignature Language="C#" Value="public interface ViewInfos" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ViewInfos" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfos" />
<TypeSignature Language="VB.NET" Value="Public Interface ViewInfos" />
<TypeSignature Language="C++ CLI" Value="public interface class ViewInfos" />
<TypeSignature Language="F#" Value="type ViewInfos = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096cd601-0786-11d1-95fa-0080c78ee3bb")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)</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.SemiTrust.ViewInfosCollection" />.</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.SemiTrust.ViewInfos.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.SemiTrust.ViewInfos.Count" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a count of the number of <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject" /> object contained in the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfosCollection" /> collection.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>Count</b> property is used within a for loop to iterate through the collection of <b>ViewInfo</b> objects and display a message box indicating the name of each view implemented in the form:</para>
<code>for (int i=0; i &lt; thisXDocument.ViewInfos.<span class="label">Count</span>; i++)
{
thisXDocument.UI.Alert("View name: " + thisXDocument.ViewInfos[i].Name);
}</code>
</example>
</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() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfos.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="viewInfos.GetEnumerator " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<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.SemiTrust.ViewInfosCollection" /> object.</summary>
<returns>An <b>IEnumerator</b> that iterates over all entries in the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfosCollection" /> object.</returns>
<remarks>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Item">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject this[object varIndex] { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject Item(object)" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfos.Item(System.Object)" />
<MemberSignature Language="VB.NET" Value="Default Public ReadOnly Property Item(varIndex As Object) As ViewInfoObject" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::ViewInfoObject ^ default[System::Object ^] { Microsoft::Office::Interop::InfoPath::SemiTrust::ViewInfoObject ^ get(System::Object ^ varIndex); };" />
<MemberSignature Language="F#" Value="member this.Item(obj) : Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfos.Item" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(0)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="varIndex" Type="System.Object" />
</Parameters>
<Docs>
<param name="varIndex">An expression that specifies the position of a member of the <b>ViewInfosCollection</b> collection. If a numeric expression, the argument must be a number from 0 to the value of the collection's <b>Count</b> property minus 1. If a string expression, the argument must be the name of a member of the collection.</param>
<summary>Gets the specified <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject" /> object from the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfosCollection" /> 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 <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject" /> object that the <b>Item</b> property returns, you can access any of its properties.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>Because the <b>Item</b> property is the default property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfosCollection" /> collection, it can be used as follows:</para>
<code>ViewInfo firstViewInfo;
firstViewInfo = thisXDocument.ViewInfos[0];</code>
<para>You can also use the name of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.ViewInfoObject" /> object, which is the name of a view, as the argument to the <b>Item</b> method, as shown in the following example:</para>
<code>ViewInfo myViewInfo;
myViewInfo = thisXDocument.ViewInfos["MyView"];</code>
</example>
</Docs>
</Member>
</Members>
</Type>