-
Notifications
You must be signed in to change notification settings - Fork 8
/
_Application2.xml
928 lines (924 loc) · 57.9 KB
/
_Application2.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
<Type Name="_Application2" FullName="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2">
<TypeSignature Language="C#" Value="public interface _Application2 : Microsoft.Office.Interop.InfoPath.SemiTrust._Application" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract _Application2 implements class Microsoft.Office.Interop.InfoPath.SemiTrust._Application" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2" />
<TypeSignature Language="VB.NET" Value="Public Interface _Application2
Implements _Application" />
<TypeSignature Language="C++ CLI" Value="public interface class _Application2 : Microsoft::Office::Interop::InfoPath::SemiTrust::_Application" />
<TypeSignature Language="F#" Value="type _Application2 = interface
 interface _Application" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.InfoPath.SemiTrust._Application</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096cd6bb-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.Application" />.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="ActiveWindow">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject ActiveWindow { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject ActiveWindow" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.ActiveWindow" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ActiveWindow As WindowObject" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::WindowObject ^ ActiveWindow { Microsoft::Office::Interop::InfoPath::SemiTrust::WindowObject ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ActiveWindow : Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.ActiveWindow" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.ActiveWindow</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(4)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a reference to a <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" /> object that represents the currently active window.</summary>
<value>To be added.</value>
<remarks>
<para>Using the <b>ActiveWindow</b> property, you can gain immediate access to the window that is currently being viewed by the user, and then use the properties and methods of the <b>Window</b> object that it returns.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>ActiveWindow</b> property is used to gain access to the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Window2.MailEnvelope" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" /> object that returns a <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.MailEnvelopeObject" /> object.</para>
<code>MailEnvelope email = thisApplication.<span class="label">ActiveWindow</span>.MailEnvelope;
email.Subject = getNode(@"/mtg:meetingAgenda/mtg:subject").text;
email.To = aliases + "; ";
email.Visible = true;</code>
</example>
<example>
<para>In the following example, the <b>ActiveWindow</b> property is used to gain access to the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Window2.MailEnvelope" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowObject" /> object that returns a <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.MailEnvelopeObject" /> object.</para>
<code>MailEnvelope email = thisApplication.<span class="label">ActiveWindow</span>.MailEnvelope;
email.Subject = getNode(@"/mtg:meetingAgenda/mtg:subject").text;
email.To = aliases + "; ";
email.Visible = true;</code>
</example>
</Docs>
</Member>
<Member MemberName="CacheSolution">
<MemberSignature Language="C#" Value="public void CacheSolution (string bstrSolutionURI);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CacheSolution(string bstrSolutionURI) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.CacheSolution(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub CacheSolution (bstrSolutionURI As String)" />
<MemberSignature Language="C++ CLI" Value="public:
 void CacheSolution(System::String ^ bstrSolutionURI);" />
<MemberSignature Language="F#" Value="abstract member CacheSolution : string -> unit" Usage="_Application2.CacheSolution bstrSolutionURI" />
<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(14)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bstrSolutionURI" Type="System.String" />
</Parameters>
<Docs>
<param name="bstrSolutionURI">Specifies the Uniform Resource Identifier (URI) of the form template. This parameter can be specified as a form definition (.xsf) file or a form template (.xsn) file.</param>
<summary>Examines the form template in the cache and, if necessary, updates it from the published location of the form template.</summary>
<remarks>
<para>If the form template that currently exists in the cache matches the form template from the published location, no caching takes place. If the computer is offline and the form is already in the cache, the cache is kept and no update will occur.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<code>private string[] _forms =
{
@"\\MyServer\MyForms\MyForm.xsn",
@"\\MyServer\MyForms\manifest.xsf"
};
private void someFunction()
{
…
CacheFormTemplate(_forms);
…
}
private void CacheFormTemplate(string[] forms)
{
foreach (string form in forms)
{
thisApplication.<span class="label">CacheSolution</span>(form);
}
}</code>
</example>
<example>
<code>private string[] _forms =
{
@"\\MyServer\MyForms\MyForm.xsn",
@"\\MyServer\MyForms\manifest.xsf"
};
private void someFunction()
{
…
CacheFormTemplate(_forms);
…
}
private void CacheFormTemplate(string[] forms)
{
foreach (string form in forms)
{
thisApplication.<span class="label">CacheSolution</span>(form);
}
}</code>
</example>
</Docs>
</Member>
<Member MemberName="FormatString">
<MemberSignature Language="C#" Value="public string FormatString (object varInput, string bstrCategory, string bstrOptions);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string FormatString(object varInput, string bstrCategory, string bstrOptions) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.FormatString(System.Object,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function FormatString (varInput As Object, bstrCategory As String, bstrOptions As String) As String" />
<MemberSignature Language="C++ CLI" Value="public:
 System::String ^ FormatString(System::Object ^ varInput, System::String ^ bstrCategory, System::String ^ bstrOptions);" />
<MemberSignature Language="F#" Value="abstract member FormatString : obj * string * string -> string" Usage="_Application2.FormatString (varInput, bstrCategory, bstrOptions)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.FormatString(System.Object,System.String,System.String)</InterfaceMember>
</Implements>
<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.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="varInput" Type="System.Object" />
<Parameter Name="bstrCategory" Type="System.String" />
<Parameter Name="bstrOptions" Type="System.String" />
</Parameters>
<Docs>
<param name="varInput">The value or XML node to be formatted.</param>
<param name="bstrCategory">The value that specifies the category used for formatting. Values include number, percentage, currency, date, time, and datetime.</param>
<param name="bstrOptions">The value that specifies the options used for formatting. Takes the form of a case-sensitive string in the format "optionName:value".</param>
<summary>Formats the specified string or XML node according to the specified category and options parameters.</summary>
<returns>The <b>string</b> formatted according to the specified category and options parameters.</returns>
<remarks>
<para>The <b>FormatString</b> method can be used anywhere you need to change the format of a specified string. It must be qualified with the Application name, and its return value must be assigned to a variable or used as an expression that requires a string value.</para>
<para>The following sections list the values that may be used for <paramref name="bstrCategory" /> and <paramref name="bstrOptions" />:</para>
<para />
<para />
<para>List of categories</para>
<list type="table">
<item>
<term>
<b>number</b>
</term>
<description>Uses numerical values. Valid options for this category include "locale", "numDigits", "leadingZero", "grouping", "decimalSep", "thousandSep", and "negativeOrder".</description>
</item>
<item>
<term>
<b>percentage</b>
</term>
<description>Uses percentage values. Valid options for this category include "locale", "numDigits", "leadingZero", "grouping", "decimalSep", "thousandSep", and "negativeOrder".</description>
</item>
<item>
<term>
<b>currency</b>
</term>
<description>Uses currency values. Valid options for this category include "locale", "numDigits", "leadingZero", "grouping", "decimalSep", "thousandSep", and "negativeOrder", "positiveOrder", and "currencyLocale".</description>
</item>
<item>
<term>
<b>date</b>
</term>
<description>Uses date values. Valid options for this category include "locale", "dateFormat", "useAltCalendar", and "useEnglishStringsAlways".</description>
</item>
<item>
<term>
<b>time</b>
</term>
<description>Uses time values. Valid options for this category include "locale", "timeFormat", and "noSeconds".</description>
</item>
<item>
<term>
<b>datetime</b>
</term>
<description>Uses datetime values. Valid options for this category include "locale", "dateFormat", "timeFormat", "noSeconds", "useAltCalendar", and "useEnglishStringAlways".</description>
</item>
</list>
<para>List of options</para>
<list type="table">
<item>
<term>
<b>locale</b>
</term>
<description>Specifies the locale identifier (LCID). Defaults to the current user's LCID if not specified.</description>
</item>
<item>
<term>
<b>numDigits</b>
</term>
<description>Specifies the number of fractional digits after the decimal separator. The value auto may also be used to indicate that the number of decimal places that was entered will be the number of decimal places in the output. For example, 1.234, 1.234, 1.00, 1.00, 1.56e2, or 156.00. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>leadingZero</b>
</term>
<description>Specifies whether to use leading zeros in decimal fields. Specify 0 to indicate no leading zeros and 1 to indicate leading zeros. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>grouping</b>
</term>
<description>Specifies the size of each group of digits to the left of the decimal. Values in the range 0–9 and value 32 are valid. Value 32 indicates that the grouping is three digits, then two digits thereafter. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>decimalSep</b>
</term>
<description>Specifies the decimal separator string. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>thousandSep</b>
</term>
<description>Specifies the thousands separator string. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>negativeOrder</b>
</term>
<description>Specifies the negative number mode. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>positiveOrder</b>
</term>
<description>Specifies the positive number mode. Defaults to the corresponding value in regional settings if not specified.</description>
</item>
<item>
<term>
<b>currencyLocale</b>
</term>
<description>Specifies the locale identifier (LCID) for the currency symbol. Defaults to the value specified by locale if not specified.</description>
</item>
<item>
<term>
<b>dateFormat</b>
</term>
<description>Specifies a format picture string that is used to form the date string. The values "Short Date", "Long Date", "Year Month", and "none" may also be used to indicate short date format, long date format, year month format, and no format, respectively. "Short Date", "Long Date", and "Year Month" are the default formats provided by the operating system's regional and language settings.</description>
</item>
<item>
<term>
<b>useAltCalendar</b>
</term>
<description>Specifies whether to use an alternate calendar for date formatting. Specify 0 to use the normal calendar and 1 to use the alternate calendar. Defaults to 0 if not specified.</description>
</item>
<item>
<term>
<b>useEnglishStringsAlways</b>
</term>
<description>Specifies whether to always use English strings for date formatting. Specify 0 to use the language specified by locale and 1 to always use English. Defaults to 0 if not specified.</description>
</item>
<item>
<term>
<b>timeFormat</b>
</term>
<description>Specifies a format string that is used to form the time string. The value "none" may also be used to indicate no format. Defaults to the time format in regional settings if not specified.</description>
</item>
<item>
<term>
<b>noSeconds</b>
</term>
<description>Specifies whether to not use seconds. Specify 0 to use seconds and 1 to not use seconds. Defaults to 0 if not specified.</description>
</item>
</list>
<para />
</remarks>
<example>
<para>In the following example, the <b>FormatString</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to format the specified date string into a long date format:</para>
<code>thisApplication.<span class="label">FormatString</span>("2003-01-08", "date", "dateFormat:Long Date");</code>
</example>
</Docs>
</Member>
<Member MemberName="IsDestinationReachable">
<MemberSignature Language="C#" Value="public bool IsDestinationReachable (string bstrDestination);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsDestinationReachable(string bstrDestination) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.IsDestinationReachable(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function IsDestinationReachable (bstrDestination As String) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 bool IsDestinationReachable(System::String ^ bstrDestination);" />
<MemberSignature Language="F#" Value="abstract member IsDestinationReachable : string -> bool" Usage="_Application2.IsDestinationReachable bstrDestination" />
<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(16)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bstrDestination" Type="System.String" />
</Parameters>
<Docs>
<param name="bstrDestination">Specifies the location to check for network connectivity. IP addresses, a UNC paths, or a URLs are acceptable values.</param>
<summary>Gets a value indicating whether the specified Uniform Resource Locator (URL), universal naming convention (UNC) path, or IP address of the destination computer can be connected to from the client computer.</summary>
<returns>
<b>true</b> if the destination computer is reachable; otherwise, <b>false</b>.</returns>
<remarks>
<para>The value specified for <paramref name="bstrDestination" /> must be either a UNC path that includes a server name and a share name, such as @"\\MyServer\MyShare", or a URL that begins with one of the following protocol identifiers: http, https, or file.</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="LanguageSettings">
<MemberSignature Language="C#" Value="public object LanguageSettings { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance object LanguageSettings" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.LanguageSettings" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property LanguageSettings As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Object ^ LanguageSettings { System::Object ^ get(); };" />
<MemberSignature Language="F#" Value="member this.LanguageSettings : obj" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.LanguageSettings" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.LanguageSettings</InterfaceMember>
</Implements>
<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.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a reference to the Microsoft Office <b>LanguageSettings</b>.</summary>
<value>To be added.</value>
<remarks>
<para>After you establish a reference to the <b>LanguageSettings</b> property, you can access all the properties and methods of the object.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>The following example uses the <b>LanguageID</b> property of the <b>LanguageSettings</b> object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system:</para>
<code>LanguageSettings languageSettings = (LanguageSettings) thisApplication.LanguageSettings;
int lcid = languageSettings.get_LanguageID(MsoAppLanguageID.msoLanguageIDHelp);
</code>
<para>
<b>Note</b>: The above example requires the <b>Microsoft.Office.Core</b> namespace and a reference to the Microsoft Office 11.0 Object Library.</para>
<para>
<b>Important</b>: The above example requires the form have a Full Trust Security Level.</para>
</example>
<example>
<para>The following example uses the <b>LanguageID</b> property of the <b>LanguageSettings</b> object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system:</para>
<code>LanguageSettings languageSettings = (LanguageSettings) thisApplication.LanguageSettings;
int lcid = languageSettings.get_LanguageID(MsoAppLanguageID.msoLanguageIDHelp);
</code>
<para>
<b>Note</b>: The above example requires the <b>Microsoft.Office.Core</b> namespace and a reference to the Microsoft Office 11.0 Object Library.</para>
<para>
<b>Important</b>: The above example requires the form have a Full Trust Security Level.</para>
</example>
</Docs>
</Member>
<Member MemberName="MachineOnlineState">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.XdMachineOnlineState MachineOnlineState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype Microsoft.Office.Interop.InfoPath.SemiTrust.XdMachineOnlineState MachineOnlineState" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.MachineOnlineState" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property MachineOnlineState As XdMachineOnlineState" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::XdMachineOnlineState MachineOnlineState { Microsoft::Office::Interop::InfoPath::SemiTrust::XdMachineOnlineState get(); };" />
<MemberSignature Language="F#" Value="member this.MachineOnlineState : Microsoft.Office.Interop.InfoPath.SemiTrust.XdMachineOnlineState" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.MachineOnlineState" />
<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(15)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.XdMachineOnlineState</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current connection state of the client computer.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>MachineOnlineState</b> is based on the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.XdMachineOnlineState" /> enumeration.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
</Docs>
</Member>
<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._Application2.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._Application2.Name" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.Name</InterfaceMember>
</Implements>
<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>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the name of the InfoPath application.</summary>
<value>To be added.</value>
<remarks>
<para>The name of the application does not contain the version number. To obtain the version number of an application, use the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Version" /> property.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <see cref="M:Microsoft.Office.Interop.InfoPath.SemiTrust.UI2.Alert(System.String)" /> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.UIObject" /> object, accessed through the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument" /> object is used to display a message box that indicates the name of the application:</para>
<code>thisXDocument.UI.Alert("Application name: " + thisApplication.<span class="label">Name</span>);</code>
</example>
</Docs>
</Member>
<Member MemberName="NewADODBConnection">
<MemberSignature Language="C#" Value="public object NewADODBConnection ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object NewADODBConnection() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.NewADODBConnection" />
<MemberSignature Language="VB.NET" Value="Public Function NewADODBConnection () As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ NewADODBConnection();" />
<MemberSignature Language="F#" Value="abstract member NewADODBConnection : unit -> obj" Usage="_Application2.NewADODBConnection " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.NewADODBConnection</InterfaceMember>
</Implements>
<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.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates and gets a reference to an empty ActiveX Data Objects (ADO) <b>Connection</b> object.</summary>
<returns>A reference to an ADO <b>Connection</b> object.</returns>
<remarks>
<para>If the form is not fully trusted, the <b>NewADODBConnection</b> method will return a "permission denied" error.</para>
<para>
<b>Note</b>: This method is not intended to be used in a managed-code form. To query a Microsoft SQL Server database, use the <b>System.Data.SqlClient</b> namespace and its associated members by adding a reference to System.Data.dll and a <b>using</b> clause to <b>System.Data.SqlClient</b>.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<code>object adoConn = thisApplication.<span class="label">NewADODBConnection</span>();</code>
</example>
</Docs>
</Member>
<Member MemberName="NewADODBRecordset">
<MemberSignature Language="C#" Value="public object NewADODBRecordset ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance object NewADODBRecordset() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.NewADODBRecordset" />
<MemberSignature Language="VB.NET" Value="Public Function NewADODBRecordset () As Object" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ NewADODBRecordset();" />
<MemberSignature Language="F#" Value="abstract member NewADODBRecordset : unit -> obj" Usage="_Application2.NewADODBRecordset " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.NewADODBRecordset</InterfaceMember>
</Implements>
<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.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Creates and gets a reference to an empty ActiveX Data Objects (ADO) <b>Recordset</b> object.</summary>
<returns>A reference to an empty ActiveX Data Objects (ADO) <b>Recordset</b> object.</returns>
<remarks>
<para>If the form is not fully trusted, the <b>NewADODBRecordset</b> method will return a "permission denied" error.</para>
<para>
<b>Note</b>: This method is not intended to be used in a managed-code form. To query a Microsoft SQL Server database, use the <b>System.Data.SqlClient</b> namespace and its associated members by adding a reference to System.Data.dll and a <b>using</b> clause to <b>System.Data.SqlClient</b>.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<code>object adoRS = thisApplication.<span class="label">NewADODBRecordset</span>();</code>
</example>
</Docs>
</Member>
<Member MemberName="Quit">
<MemberSignature Language="C#" Value="public void Quit (bool bForce);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Quit(bool bForce) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Quit(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub Quit (bForce As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:
 void Quit(bool bForce);" />
<MemberSignature Language="F#" Value="abstract member Quit : bool -> unit" Usage="_Application2.Quit bForce" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.Quit(System.Boolean)</InterfaceMember>
</Implements>
<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.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bForce" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="bForce">Determines whether open forms will be saved during the quit operation. If set to <b>false</b>, all forms will be closed without saving, even if the data in the forms has been changed. If set to <b>true</b>, the user will be prompted to save the forms. Default value is <b>false</b>.</param>
<summary>Quits the InfoPath application.</summary>
<remarks>
<para>If the <b>Quit</b> method is used in a form that is not fully trusted, the method will return a "permission denied" error.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>Quit</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to quit InfoPath without saving any of the currently open forms: </para>
<code>thisApplication.<span class="label">Quit</span>(false);</code>
</example>
</Docs>
</Member>
<Member MemberName="RegisterSolution">
<MemberSignature Language="C#" Value="public void RegisterSolution (string bstrSolutionURL, string bstrBehavior);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void RegisterSolution(string bstrSolutionURL, string bstrBehavior) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.RegisterSolution(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub RegisterSolution (bstrSolutionURL As String, bstrBehavior As String)" />
<MemberSignature Language="C++ CLI" Value="public:
 void RegisterSolution(System::String ^ bstrSolutionURL, System::String ^ bstrBehavior);" />
<MemberSignature Language="F#" Value="abstract member RegisterSolution : string * string -> unit" Usage="_Application2.RegisterSolution (bstrSolutionURL, bstrBehavior)" />
<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(12)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bstrSolutionURL" Type="System.String" />
<Parameter Name="bstrBehavior" Type="System.String" />
</Parameters>
<Docs>
<param name="bstrSolutionURL">Specifies the Uniform Resource Locator (URL) of the form template. This parameter can be specified as a form definition (.xsf) file or a form template (.xsn) file.</param>
<param name="bstrBehavior">Specifies how the form template is to be installed. Default value is "overwrite". The only other valid value for this parameter is "new-only".</param>
<summary>Installs the specified form template.</summary>
<remarks>
<para>If the form template has already been registered, and "new-only" is specified for the <paramref name="bstrBehavior" /> parameter, the <b>RegisterSolution</b> method will return an error. If "overwrite" is specified, the form template's registration record will be overwritten.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<para>In the following C# example, the <b>RegisterSolution</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to install a form template:</para>
<code>public void InstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath = new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">RegisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn", "overwrite");
}</code>
<para>
<b>Note</b>: The above example assumes that the <see cref="N:Microsoft.Office.Interop.InfoPath" /> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</para>
</example>
<example>
<para>In the following C# example, the <b>RegisterSolution</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to install a form template:</para>
<code>public void InstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath = new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">RegisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn", "overwrite");
}</code>
<para>
<b>Note</b>: The above example assumes that the <see cref="N:Microsoft.Office.Interop.InfoPath" /> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</para>
</example>
</Docs>
</Member>
<Member MemberName="UnregisterSolution">
<MemberSignature Language="C#" Value="public void UnregisterSolution (string bstrSolutionURI);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void UnregisterSolution(string bstrSolutionURI) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.UnregisterSolution(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub UnregisterSolution (bstrSolutionURI As String)" />
<MemberSignature Language="C++ CLI" Value="public:
 void UnregisterSolution(System::String ^ bstrSolutionURI);" />
<MemberSignature Language="F#" Value="abstract member UnregisterSolution : string -> unit" Usage="_Application2.UnregisterSolution bstrSolutionURI" />
<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(13)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="bstrSolutionURI" Type="System.String" />
</Parameters>
<Docs>
<param name="bstrSolutionURI">Specifies the Uniform Resource Identifier (URI) of the form template.</param>
<summary>Uninstalls the specified form template.</summary>
<remarks>
<para>If the form template cannot be unregistered, the <b>UnregisterSolution</b> method will return an error.</para>
<para>
<b>Important</b>: This member can be accessed only by forms opened from a form template that has been configured to run with full trust using the Security and Trust category of the Form Options dialog box. This member requires full trust for the immediate caller and cannot be used by partially trusted code. For more information, see "Using Libraries from Partially Trusted Code" on MSDN.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>UnregisterSolution</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to uninstall a form template:</para>
<code>public void UninstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath = new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">UnregisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn");
}</code>
<para>
<b>Note</b>: The above example assumes that the <see cref="N:Microsoft.Office.Interop.InfoPath" /> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</para>
</example>
<example>
<para>In the following example, the <b>UnregisterSolution</b> method of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to uninstall a form template:</para>
<code>public void UninstallForm()
{
Microsoft.Office.Interop.InfoPath.Application infoPath = new Microsoft.Office.Interop.InfoPath.ApplicationClass();
infoPath.<span class="label">UnregisterSolution</span>(@"C:\My Forms\MyFormTemplate.xsn");
}</code>
<para>
<b>Note</b>: The above example assumes that the <see cref="N:Microsoft.Office.Interop.InfoPath" /> namespace is being used and that the Microsoft InfoPath 3.0 Type Library is referenced.</para>
</example>
</Docs>
</Member>
<Member MemberName="UsableHeight">
<MemberSignature Language="C#" Value="public int UsableHeight { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 UsableHeight" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.UsableHeight" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property UsableHeight As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 property int UsableHeight { int get(); };" />
<MemberSignature Language="F#" Value="member this.UsableHeight : int" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.UsableHeight" />
<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(18)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the available screen height, the maximum number of points to which you can set the height of an InfoPath document window.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="UsableWidth">
<MemberSignature Language="C#" Value="public int UsableWidth { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 UsableWidth" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.UsableWidth" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property UsableWidth As Integer" />
<MemberSignature Language="C++ CLI" Value="public:
 property int UsableWidth { int get(); };" />
<MemberSignature Language="F#" Value="member this.UsableWidth : int" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.UsableWidth" />
<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(17)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the available screen width, the maximum number of points to which you can set the width of an InfoPath document window.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="User">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.UserObject User { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.SemiTrust.UserObject User" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.User" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property User As UserObject" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::UserObject ^ User { Microsoft::Office::Interop::InfoPath::SemiTrust::UserObject ^ get(); };" />
<MemberSignature Language="F#" Value="member this.User : Microsoft.Office.Interop.InfoPath.SemiTrust.UserObject" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.User" />
<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(11)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.UserObject</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a reference to the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.UserObject" /> object.</summary>
<value>To be added.</value>
<remarks>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
</Docs>
</Member>
<Member MemberName="Version">
<MemberSignature Language="C#" Value="public string Version { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Version" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Version" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Version As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Version { System::String ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Version : string" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Version" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.Version</InterfaceMember>
</Implements>
<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 InfoPath version number.</summary>
<value>To be added.</value>
<remarks>
<para>The version number of the application does not contain the name. To obtain the name of an application, use the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Name" /> property</para>
<para>To obtain the version number of a form template, use the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Solution.Version" /> property.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>Version</b> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.Application" /> object is used to display the application's version number in a message box:</para>
<code>thisXDocument.UI.Alert("Application version: " + thisApplication.<span class="label">Version</span>);</code>
</example>
</Docs>
</Member>
<Member MemberName="Windows">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection Windows { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection Windows" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Windows" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Windows As WindowsCollection" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::WindowsCollection ^ Windows { Microsoft::Office::Interop::InfoPath::SemiTrust::WindowsCollection ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Windows : Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.Windows" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.Windows</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(2)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a reference to the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection" /> collection.</summary>
<value>To be added.</value>
<remarks>
<para>After you have set a reference to the <b>Windows</b> collection, you can use its properties to access each of the <b>Window</b> objects that it contains.</para>
<para>
<b>Note</b>: The <b>Windows</b> collection can be used only to get the count of the <b>Window</b> objects that it contains or to return a reference to a <b>Window</b> object. It cannot be used to add or remove <b>Window</b> objects.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>Windows</b> property is used to access the <see cref="P:Microsoft.Office.Interop.InfoPath.SemiTrust.Windows.Count" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.WindowsCollection" /> collection and display the value in a message box:</para>
<code>thisXDocument.UI.Alert("Count of Windows: " + thisApplication.<span class="label">Windows</span>.Count);</code>
</example>
</Docs>
</Member>
<Member MemberName="XDocuments">
<MemberSignature Language="C#" Value="public Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection XDocuments { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection XDocuments" />
<MemberSignature Language="DocId" Value="P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.XDocuments" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property XDocuments As XDocumentsCollection" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::XDocumentsCollection ^ XDocuments { Microsoft::Office::Interop::InfoPath::SemiTrust::XDocumentsCollection ^ get(); };" />
<MemberSignature Language="F#" Value="member this.XDocuments : Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection" Usage="Microsoft.Office.Interop.InfoPath.SemiTrust._Application2.XDocuments" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.Office.Interop.InfoPath.SemiTrust._Application.XDocuments</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath.SemiTrust</AssemblyName>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.DispId(3)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a reference to the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.XDocuments" /> collection.</summary>
<value>To be added.</value>
<remarks>
<para>After you have set a reference to the <b>XDocuments</b> collection, you can use its properties to access each of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument" /><b />objects that it contains.</para>
<para>
<b>Important</b>: This member can be accessed without restrictions.</para>
<para />
</remarks>
<example>
<para>In the following example, the <b>XDocuments</b> property is used to access the <b>Count</b> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection" /> collection and display the value in a message box:</para>
<code>thisXDocument.UI.Alert("Count of XDocuments: " + thisApplication.<span class="label">XDocuments</span>.Count);</code>
</example>
</Docs>
</Member>
</Members>
</Type>