-
Notifications
You must be signed in to change notification settings - Fork 8
/
SharepointListAdapter.xml
227 lines (227 loc) · 13 KB
/
SharepointListAdapter.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<Type Name="SharepointListAdapter" FullName="Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter">
<TypeSignature Language="C#" Value="public interface SharepointListAdapter" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract SharepointListAdapter" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter" />
<TypeSignature Language="VB.NET" Value="Public Interface SharepointListAdapter" />
<TypeSignature Language="C++ CLI" Value="public interface class SharepointListAdapter" />
<TypeSignature Language="F#" Value="type SharepointListAdapter = interface" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096cd69a-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.SharepointListAdapterObject" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.Name" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Name As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Name : string" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.Name" />
<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(8)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of a <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapterObject" /> object.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Query">
<MemberSignature Language="C#" Value="public void Query ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Query() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.Query" />
<MemberSignature Language="VB.NET" Value="Public Sub Query ()" />
<MemberSignature Language="C++ CLI" Value="public:
 void Query();" />
<MemberSignature Language="F#" Value="abstract member Query : unit -> unit" Usage="sharepointListAdapter.Query " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(9)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reads data from the associated data adapter.</summary>
<remarks>
<para>The <b>Query</b> method fails if the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.QueryAllowed" /> property is <b>false</b>.</para>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>Query</b> method of an existing Data Connection to a SharePoint list, "SharePoint list", is invoked. A message box is displayed if the <b>Query</b> method fails:</para>
<code>SharepointListAdapter SPList = ((SharepointListAdapter)thisXDocument.DataAdapters[“SharePoint list”]);
try
{
SPList.<span class="label">Query</span>();
}
catch (Exception ex)
{
thisXDocument.UI.Alert("Failed to query.\n\n" + ex.Message);
}</code>
</example>
</Docs>
</Member>
<Member MemberName="QueryAllowed">
<MemberSignature Language="C#" Value="public bool QueryAllowed { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool QueryAllowed" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.QueryAllowed" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property QueryAllowed As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool QueryAllowed { bool get(); };" />
<MemberSignature Language="F#" Value="member this.QueryAllowed : bool" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.QueryAllowed" />
<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(6)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that always returns <b>true</b>, corresponding to the <b>queryAllowed</b> attribute in the form definition file (.xsf).</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="SiteUrl">
<MemberSignature Language="C#" Value="public string SiteUrl { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string SiteUrl" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.SiteUrl" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property SiteUrl As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ SiteUrl { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.SiteUrl : string" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.SiteUrl" />
<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(5)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the Uniform Resource Locator (URL) of the Windows SharePoint Services site that the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapterObject" /> object will query.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>SiteUrl</b> property of an existing Data Connection to a SharePoint list, "SharePoint list", is displayed in a message box:</para>
<code>SharepointListAdapter SPList = ((SharepointListAdapter)thisXDocument.DataAdapters[“SharePoint list”]);
thisXDocument.UI.Alert(SPList.<span class="label">SiteUrl</span>);</code>
</example>
</Docs>
</Member>
<Member MemberName="Submit">
<MemberSignature Language="C#" Value="public void Submit ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Submit() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.Submit" />
<MemberSignature Language="VB.NET" Value="Public Sub Submit ()" />
<MemberSignature Language="C++ CLI" Value="public:
 void Submit();" />
<MemberSignature Language="F#" Value="abstract member Submit : unit -> unit" Usage="sharepointListAdapter.Submit " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(10)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Available for the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapterObject" />, but, because <b>SharePointListAdapter</b> object is available for receiving data only, the method will always generate a run-time error when it is called on that object.</summary>
<remarks>
<para>To submit form data to a SharePoint list or library, use the <see cref="M:Microsoft.Office.Interop.InfoPath.SemiTrust.DAVAdapter.Submit" /> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.DAVAdapterObject" /> object.</para>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="SubmitAllowed">
<MemberSignature Language="C#" Value="public bool SubmitAllowed { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SubmitAllowed" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.SubmitAllowed" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property SubmitAllowed As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool SubmitAllowed { bool get(); };" />
<MemberSignature Language="F#" Value="member this.SubmitAllowed : bool" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter.SubmitAllowed" />
<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(7)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value corresponding to the <b>submitAllowed</b> attribute in the form definition file (.xsf).</summary>
<value>To be added.</value>
<remarks>
<para>Always returns <b>false</b> for the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapterObject" /> object.</para>
<para>
<b>Important</b>: This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.</para>
<para />
</remarks>
</Docs>
</Member>
</Members>
</Type>