-
Notifications
You must be signed in to change notification settings - Fork 7
/
EmailAdapterObject.xml
41 lines (41 loc) · 2.9 KB
/
EmailAdapterObject.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
<Type Name="EmailAdapterObject" FullName="Microsoft.Office.Interop.InfoPath.EmailAdapterObject">
<TypeSignature Language="C#" Value="public interface EmailAdapterObject : Microsoft.Office.Interop.InfoPath.EmailAdapter" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract EmailAdapterObject implements class Microsoft.Office.Interop.InfoPath.EmailAdapter" />
<TypeSignature Language="DocId" Value="T:Microsoft.Office.Interop.InfoPath.EmailAdapterObject" />
<TypeSignature Language="VB.NET" Value="Public Interface EmailAdapterObject
Implements EmailAdapter" />
<TypeSignature Language="C++ CLI" Value="public interface class EmailAdapterObject : Microsoft::Office::Interop::InfoPath::EmailAdapter" />
<TypeSignature Language="F#" Value="type EmailAdapterObject = interface
 interface EmailAdapter" />
<AssemblyInfo>
<AssemblyName>Microsoft.Office.Interop.InfoPath</AssemblyName>
<AssemblyVersion>15.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Office.Interop.InfoPath.EmailAdapter</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.CoClass(typeof(Microsoft.Office.Interop.InfoPath.EmailAdapterObjectClass))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.InteropServices.Guid("096CD5D7-0786-11D1-95FA-0080C78EE3BB")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents the data adapter for submitting form information in e-mail by using Microsoft Office Outlook.</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.EmailAdapter" />.</para>
<para>Use the <see cref="P:Microsoft.Office.Interop.InfoPath.DataAdapters.Item(System.Object)" /> property of the <see cref="T:Microsoft.Office.Interop.InfoPath.DataAdaptersCollection" /> collection to return an <b>EmailAdapter</b> object.</para>
<para />
</remarks>
<example>
<para>The following example initializes an <b>EmailAdapter</b> object by obtaining it from the data adapters collection, sets the <see cref="P:Microsoft.Office.Interop.InfoPath.EmailAdapter.To" /> and <see cref="P:Microsoft.Office.Interop.InfoPath.EmailAdapter.Subject" /> property and submits it.</para>
<code><span class="label">EmailAdapterObject</span> myEmailAdapter = ((<span class="label">EmailAdapterObject</span>)thisXDocument.DataAdapters[3]);
myEmailAdapter.To = "list@example.com";
myEmailAdapter.Subject = "Status Report";
myEmailAdapter.Submit();</code>
</example>
</Docs>
<Members />
</Type>