1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="MailDefinition" FullName="System.Web.UI.WebControls.MailDefinition">
3  <TypeSignature Language="C#" Value="public sealed class MailDefinition : System.Web.UI.IStateManager" />
4  <AssemblyInfo>
5    <AssemblyName>System.Web</AssemblyName>
6    <AssemblyVersion>2.0.0.0</AssemblyVersion>
7  </AssemblyInfo>
8  <Base>
9    <BaseTypeName>System.Object</BaseTypeName>
10  </Base>
11  <Interfaces>
12    <Interface>
13      <InterfaceName>System.Web.UI.IStateManager</InterfaceName>
14    </Interface>
15  </Interfaces>
16  <Attributes>
17    <Attribute>
18      <AttributeName>System.ComponentModel.Bindable(false)</AttributeName>
19    </Attribute>
20  </Attributes>
21  <Docs>
22    <since version=".NET 2.0" />
23    <remarks>
24      <attribution license="cc4" from="Microsoft" modified="false" />
25      <para>The <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class can be used by controls to create a <see cref="T:System.Net.Mail.MailMessage" /> object from a text file or a string that contains the body of the e-mail message. Use the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class to simplify creating predefined e-mail messages to be sent by a control. If you want to send e-mail not using a control, see the <see cref="N:System.Net.Mail" /> class.</para>
26      <para>You can make text substitutions in the body of the e-mail message by passing to the <see cref="M:System.Web.UI.WebControls.MailDefinition.CreateMailMessage(System.String,System.Collections.IDictionary,System.Web.UI.Control)" /> method an <see cref="T:System.Collections.IDictionary" /> instance that maps strings to their replacements.</para>
27      <para>The <see cref="T:System.Net.Mail.MailMessage" /> object created by the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class is sent using the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method of the <see cref="T:System.Net.Mail.SmtpClient" /> class. To be able to send e-mail, you must configure an SMTP mail server in your Web.config file. For more information, see the <format type="text/html"><a href="220b0329-e384-4e0c-86b4-0945ad17efd9">&lt;SMTP&gt; element</a></format>.</para>
28      <block subset="none" type="note">
29        <para>The <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class does not support data binding. Properties of the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class cannot be bound to data using the &lt;%#   %&gt; data-binding expression syntax.</para>
30      </block>
31    </remarks>
32    <summary>
33      <attribution license="cc4" from="Microsoft" modified="false" />
34      <para>Allows a control to create e-mail messages from text files or strings. This class cannot be inherited.</para>
35    </summary>
36  </Docs>
37  <Members>
38    <Member MemberName=".ctor">
39      <MemberSignature Language="C#" Value="public MailDefinition ();" />
40      <MemberType>Constructor</MemberType>
41      <Parameters />
42      <Docs>
43        <remarks>To be added.</remarks>
44        <since version=".NET 2.0" />
45        <summary>
46          <attribution license="cc4" from="Microsoft" modified="false" />
47          <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class.</para>
48        </summary>
49      </Docs>
50      <AssemblyInfo>
51        <AssemblyVersion>2.0.0.0</AssemblyVersion>
52      </AssemblyInfo>
53    </Member>
54    <Member MemberName="BodyFileName">
55      <MemberSignature Language="C#" Value="public string BodyFileName { set; get; }" />
56      <MemberType>Property</MemberType>
57      <Attributes>
58        <Attribute>
59          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
60        </Attribute>
61        <Attribute>
62          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
63        </Attribute>
64      </Attributes>
65      <ReturnValue>
66        <ReturnType>System.String</ReturnType>
67      </ReturnValue>
68      <Docs>
69        <value>To be added.</value>
70        <since version=".NET 2.0" />
71        <remarks>
72          <attribution license="cc4" from="Microsoft" modified="false" />
73          <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property specifies the location of the text file to use for the body of the e-mail message.</para>
74          <para>The <see cref="M:System.Web.UI.WebControls.MailDefinition.CreateMailMessage(System.String,System.Collections.IDictionary,System.Web.UI.Control)" /> method uses its <paramref name="owner" /> parameter to map the <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property to a path on the server. If the <paramref name="owner" /> parameter points to a control on an .aspx page or to the page itself, the <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property points to a text file in the same directory as the .aspx page. For example, if the .aspx page is located at C:\inetpub\wwwroot\default.aspx, the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> control looks for the text file in the directory C:\inetpub\wwwroot.</para>
75          <para>If the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> class is used in a user control contained in an .ascx file, the <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property points to a text file located in the same directory as the user control. For example, if the .aspx page is located at C:\inetpub\wwwroot\default.aspx and the user control is at C:\inetpub\wwwroot\controls\control.aspx, the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> object looks for the text file in the directory C:\inetpub\wwwroot\controls.</para>
76        </remarks>
77        <summary>
78          <attribution license="cc4" from="Microsoft" modified="false" />
79          <para>Gets or sets the name of the file that contains text for the body of the e-mail message.</para>
80        </summary>
81      </Docs>
82      <AssemblyInfo>
83        <AssemblyVersion>2.0.0.0</AssemblyVersion>
84      </AssemblyInfo>
85    </Member>
86    <Member MemberName="CC">
87      <MemberSignature Language="C#" Value="public string CC { set; get; }" />
88      <MemberType>Property</MemberType>
89      <Attributes>
90        <Attribute>
91          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
92        </Attribute>
93        <Attribute>
94          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
95        </Attribute>
96      </Attributes>
97      <ReturnValue>
98        <ReturnType>System.String</ReturnType>
99      </ReturnValue>
100      <Docs>
101        <value>To be added.</value>
102        <since version=".NET 2.0" />
103        <remarks>
104          <attribution license="cc4" from="Microsoft" modified="false" />
105          <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.CC" /> property contains a list of additional recipients of the e-mail message.</para>
106          <para>If the <see cref="P:System.Web.UI.WebControls.MailDefinition.CC" /> property contains an improperly formed e-mail address, the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method throws an <see cref="T:System.Web.HttpException" /> exception and the e-mail message is not sent.</para>
107        </remarks>
108        <summary>
109          <attribution license="cc4" from="Microsoft" modified="false" />
110          <para>Gets or sets a comma-separated list of e-mail addresses to send a copy (CC) of the message to.</para>
111        </summary>
112      </Docs>
113      <AssemblyInfo>
114        <AssemblyVersion>2.0.0.0</AssemblyVersion>
115      </AssemblyInfo>
116    </Member>
117    <Member MemberName="CreateMailMessage">
118      <MemberSignature Language="C#" Value="public System.Net.Mail.MailMessage CreateMailMessage (string recipients, System.Collections.IDictionary replacements, System.Web.UI.Control owner);" />
119      <MemberType>Method</MemberType>
120      <ReturnValue>
121        <ReturnType>System.Net.Mail.MailMessage</ReturnType>
122      </ReturnValue>
123      <Parameters>
124        <Parameter Name="recipients" Type="System.String" />
125        <Parameter Name="replacements" Type="System.Collections.IDictionary" />
126        <Parameter Name="owner" Type="System.Web.UI.Control" />
127      </Parameters>
128      <Docs>
129        <since version=".NET 2.0" />
130        <remarks>
131          <attribution license="cc4" from="Microsoft" modified="false" />
132          <para>The <see cref="M:System.Web.UI.WebControls.MailDefinition.CreateMailMessage(System.String,System.Collections.IDictionary,System.Web.UI.Control)" /> method creates a new <see cref="T:System.Net.Mail.MailMessage" /> object that can be sent using the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method.</para>
133          <para>The <see cref="P:System.Web.Mail.MailMessage.BodyFormat" /> property must be set to indicate whether the mail message should be formatted as plain text (<see cref="F:System.Web.Mail.MailFormat.Text" />) or HTML (<see cref="F:System.Web.Mail.MailFormat.Html" />). </para>
134          <para>The <paramref name="recipients" /> parameter contains a comma-separated list of recipients of the e-mail message. If the <paramref name="recipients" /> parameter contains an improperly formatted Internet e-mail address, the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method throws an <see cref="T:System.Web.HttpException" /> exception and the e-mail message is not sent.</para>
135          <para>The <paramref name="replacements" /> parameter is an <see cref="T:System.Collections.IDictionary" /> instance that contains a list of strings to substitute. Strings are replaced in the order in which they were added to the <see cref="T:System.Collections.IDictionary" /> collection, and they can overwrite earlier replacements.</para>
136          <para>The <paramref name="owner" /> parameter indicates which control is the parent of the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> control. It determines which directory to search for the text file specified in the <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property.</para>
137        </remarks>
138        <summary>
139          <attribution license="cc4" from="Microsoft" modified="false" />
140          <para>Creates an e-mail message from a text file to send by means of SMTP (Simple Mail Transfer Protocol).</para>
141        </summary>
142        <returns>
143          <attribution license="cc4" from="Microsoft" modified="false" />
144          <para>The e-mail message from a text file.</para>
145        </returns>
146        <param name="recipients">
147          <attribution license="cc4" from="Microsoft" modified="false" />A comma-separated list of message recipients.</param>
148        <param name="replacements">
149          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Collections.IDictionary" /> containing a list of strings and their replacement strings.</param>
150        <param name="owner">
151          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> that owns this <see cref="T:System.Web.UI.WebControls.MailDefinition" />.</param>
152      </Docs>
153      <AssemblyInfo>
154        <AssemblyVersion>2.0.0.0</AssemblyVersion>
155      </AssemblyInfo>
156    </Member>
157    <Member MemberName="CreateMailMessage">
158      <MemberSignature Language="C#" Value="public System.Net.Mail.MailMessage CreateMailMessage (string recipients, System.Collections.IDictionary replacements, string body, System.Web.UI.Control owner);" />
159      <MemberType>Method</MemberType>
160      <ReturnValue>
161        <ReturnType>System.Net.Mail.MailMessage</ReturnType>
162      </ReturnValue>
163      <Parameters>
164        <Parameter Name="recipients" Type="System.String" />
165        <Parameter Name="replacements" Type="System.Collections.IDictionary" />
166        <Parameter Name="body" Type="System.String" />
167        <Parameter Name="owner" Type="System.Web.UI.Control" />
168      </Parameters>
169      <Docs>
170        <since version=".NET 2.0" />
171        <remarks>
172          <attribution license="cc4" from="Microsoft" modified="false" />
173          <para>The <see cref="M:System.Web.UI.WebControls.MailDefinition.CreateMailMessage(System.String,System.Collections.IDictionary,System.Web.UI.Control)" /> method creates a new <see cref="T:System.Net.Mail.MailMessage" /> object that can be sent with the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method.</para>
174          <para>The <paramref name="recipients" /> parameter contains a comma-separated list of recipients of the e-mail message. If the <paramref name="recipients" /> parameter contains an improperly formatted Internet e-mail address, the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method throws an <see cref="T:System.Web.HttpException" /> exception and the e-mail message is not sent.</para>
175          <para>The <paramref name="replacements" /> parameter is an <see cref="T:System.Collections.IDictionary" /> instance that contains a list of strings to substitute. Strings are replaced in the order in which they were added to the <see cref="T:System.Collections.IDictionary" /> collection, and they can overwrite earlier replacements.</para>
176          <para>The <paramref name="body" /> parameter contains the text of the e-mail message. </para>
177          <para>The <paramref name="owner" /> parameter indicates which control is the parent of the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> control. It determines which directory to search for the text file specified in the <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> property.</para>
178        </remarks>
179        <summary>
180          <attribution license="cc4" from="Microsoft" modified="false" />
181          <para>Creates an e-mail message with replacements from a text file to send by means of SMTP (Simple Mail Transfer Protocol).</para>
182        </summary>
183        <returns>
184          <attribution license="cc4" from="Microsoft" modified="false" />
185          <para>The e-mail message with replacements from a text file.</para>
186        </returns>
187        <param name="recipients">
188          <attribution license="cc4" from="Microsoft" modified="false" />The comma-separated list of recipients.</param>
189        <param name="replacements">
190          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Collections.IDictionary" /> containing a list of strings and their replacement strings.</param>
191        <param name="body">
192          <attribution license="cc4" from="Microsoft" modified="false" />The text of the e-mail message.</param>
193        <param name="owner">
194          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> that owns this <see cref="T:System.Web.UI.WebControls.MailDefinition" />.</param>
195      </Docs>
196      <AssemblyInfo>
197        <AssemblyVersion>2.0.0.0</AssemblyVersion>
198      </AssemblyInfo>
199    </Member>
200    <Member MemberName="EmbeddedObjects">
201      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.EmbeddedMailObjectsCollection EmbeddedObjects { get; }" />
202      <MemberType>Property</MemberType>
203      <Attributes>
204        <Attribute>
205          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
206        </Attribute>
207        <Attribute>
208          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
209        </Attribute>
210        <Attribute>
211          <AttributeName>System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)</AttributeName>
212        </Attribute>
213      </Attributes>
214      <ReturnValue>
215        <ReturnType>System.Web.UI.WebControls.EmbeddedMailObjectsCollection</ReturnType>
216      </ReturnValue>
217      <Docs>
218        <value>To be added.</value>
219        <since version=".NET 2.0" />
220        <remarks>
221          <attribution license="cc4" from="Microsoft" modified="false" />
222          <para>The <see cref="T:System.Web.UI.WebControls.EmbeddedMailObject" /> items in the <see cref="T:System.Web.UI.WebControls.EmbeddedMailObjectsCollection" /> collection returned by the <see cref="P:System.Web.UI.WebControls.MailDefinition.EmbeddedObjects" /> property represent items to embed in an e-mail message. These items can include image files such as company logos or other graphics.</para>
223        </remarks>
224        <summary>
225          <attribution license="cc4" from="Microsoft" modified="false" />
226          <para>Gets a collection of <see cref="T:System.Web.UI.WebControls.EmbeddedMailObject" /> instances, typically used to embed images in a <see cref="T:System.Web.UI.WebControls.MailDefinition" /> object before sending an e-mail to a user.</para>
227        </summary>
228      </Docs>
229      <AssemblyInfo>
230        <AssemblyVersion>2.0.0.0</AssemblyVersion>
231      </AssemblyInfo>
232    </Member>
233    <Member MemberName="From">
234      <MemberSignature Language="C#" Value="public string From { set; get; }" />
235      <MemberType>Property</MemberType>
236      <Attributes>
237        <Attribute>
238          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
239        </Attribute>
240        <Attribute>
241          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
242        </Attribute>
243      </Attributes>
244      <ReturnValue>
245        <ReturnType>System.String</ReturnType>
246      </ReturnValue>
247      <Docs>
248        <value>To be added.</value>
249        <since version=".NET 2.0" />
250        <remarks>
251          <attribution license="cc4" from="Microsoft" modified="false" />
252          <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.From" /> property contains the e-mail address of the sender of the e-mail message. If the <see cref="P:System.Web.UI.WebControls.MailDefinition.From" /> property is left blank, or contains an improperly formed e-mail address, the <see cref="M:System.Net.Mail.SmtpClient.Send(System.String,System.String,System.String,System.String)" /> method throws an <see cref="T:System.Web.HttpException" /> exception and the e-mail message is not sent.</para>
253        </remarks>
254        <summary>
255          <attribution license="cc4" from="Microsoft" modified="false" />
256          <para>Gets or sets the e-mail address of the message sender.</para>
257        </summary>
258      </Docs>
259      <AssemblyInfo>
260        <AssemblyVersion>2.0.0.0</AssemblyVersion>
261      </AssemblyInfo>
262    </Member>
263    <Member MemberName="IsBodyHtml">
264      <MemberSignature Language="C#" Value="public bool IsBodyHtml { set; get; }" />
265      <MemberType>Property</MemberType>
266      <Attributes>
267        <Attribute>
268          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
269        </Attribute>
270        <Attribute>
271          <AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
272        </Attribute>
273      </Attributes>
274      <ReturnValue>
275        <ReturnType>System.Boolean</ReturnType>
276      </ReturnValue>
277      <Docs>
278        <value>To be added.</value>
279        <since version=".NET 2.0" />
280        <remarks>
281          <attribution license="cc4" from="Microsoft" modified="false" />
282          <para>Use the <see cref="P:System.Web.UI.WebControls.MailDefinition.IsBodyHtml" /> property to specify whether the body of the e-mail message contains plain text or HTML markup.</para>
283        </remarks>
284        <summary>
285          <attribution license="cc4" from="Microsoft" modified="false" />
286          <para>Gets or sets a value indicating whether the body of the e-mail is HTML.</para>
287        </summary>
288      </Docs>
289      <AssemblyInfo>
290        <AssemblyVersion>2.0.0.0</AssemblyVersion>
291      </AssemblyInfo>
292    </Member>
293    <Member MemberName="Priority">
294      <MemberSignature Language="C#" Value="public System.Net.Mail.MailPriority Priority { set; get; }" />
295      <MemberType>Property</MemberType>
296      <Attributes>
297        <Attribute>
298          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
299        </Attribute>
300      </Attributes>
301      <ReturnValue>
302        <ReturnType>System.Net.Mail.MailPriority</ReturnType>
303      </ReturnValue>
304      <Docs>
305        <value>To be added.</value>
306        <since version=".NET 2.0" />
307        <remarks>
308          <attribution license="cc4" from="Microsoft" modified="false" />
309          <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.Priority" /> property indicates the relative priority of the e-mail message.</para>
310        </remarks>
311        <summary>
312          <attribution license="cc4" from="Microsoft" modified="false" />
313          <para>Gets or sets the priority of the e-mail message.</para>
314        </summary>
315      </Docs>
316      <AssemblyInfo>
317        <AssemblyVersion>2.0.0.0</AssemblyVersion>
318      </AssemblyInfo>
319    </Member>
320    <Member MemberName="Subject">
321      <MemberSignature Language="C#" Value="public string Subject { set; get; }" />
322      <MemberType>Property</MemberType>
323      <Attributes>
324        <Attribute>
325          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
326        </Attribute>
327        <Attribute>
328          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
329        </Attribute>
330      </Attributes>
331      <ReturnValue>
332        <ReturnType>System.String</ReturnType>
333      </ReturnValue>
334      <Docs>
335        <value>To be added.</value>
336        <since version=".NET 2.0" />
337        <remarks>
338          <attribution license="cc4" from="Microsoft" modified="false" />
339          <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.Subject" /> property is used as the subject line of the e-mail message. It can be left empty.</para>
340        </remarks>
341        <summary>
342          <attribution license="cc4" from="Microsoft" modified="false" />
343          <para>Gets or sets the subject line of the e-mail message.</para>
344        </summary>
345      </Docs>
346      <AssemblyInfo>
347        <AssemblyVersion>2.0.0.0</AssemblyVersion>
348      </AssemblyInfo>
349    </Member>
350    <Member MemberName="System.Web.UI.IStateManager.IsTrackingViewState">
351      <MemberSignature Language="C#" Value="bool System.Web.UI.IStateManager.IsTrackingViewState { get; }" />
352      <MemberType>Property</MemberType>
353      <AssemblyInfo>
354        <AssemblyVersion>2.0.0.0</AssemblyVersion>
355      </AssemblyInfo>
356      <ReturnValue>
357        <ReturnType>System.Boolean</ReturnType>
358      </ReturnValue>
359      <Docs>
360        <value>To be added.</value>
361        <remarks>
362          <attribution license="cc4" from="Microsoft" modified="false" />
363          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> instance is cast to an <see cref="T:System.Web.UI.IStateManager" /> interface.</para>
364          <block subset="none" type="note">
365            <para>The <see cref="P:System.Web.UI.WebControls.MailDefinition.BodyFileName" /> and <see cref="P:System.Web.UI.WebControls.EmbeddedMailObject.Path" /> properties are not saved in the <see cref="P:System.Web.UI.Control.ViewState" /> property.</para>
366          </block>
367        </remarks>
368        <summary>
369          <attribution license="cc4" from="Microsoft" modified="false" />
370          <para>Gets a value that indicates whether the server control is saving changes to its view state.</para>
371        </summary>
372      </Docs>
373    </Member>
374    <Member MemberName="System.Web.UI.IStateManager.LoadViewState">
375      <MemberSignature Language="C#" Value="void IStateManager.LoadViewState (object state);" />
376      <MemberType>Method</MemberType>
377      <AssemblyInfo>
378        <AssemblyVersion>2.0.0.0</AssemblyVersion>
379      </AssemblyInfo>
380      <ReturnValue>
381        <ReturnType>System.Void</ReturnType>
382      </ReturnValue>
383      <Parameters>
384        <Parameter Name="state" Type="System.Object" />
385      </Parameters>
386      <Docs>
387        <param name="state">To be added.</param>
388        <remarks>
389          <attribution license="cc4" from="Microsoft" modified="false" />
390          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> instance is cast to an <see cref="T:System.Web.UI.IStateManager" /> interface.</para>
391        </remarks>
392        <summary>
393          <attribution license="cc4" from="Microsoft" modified="false" />
394          <para>Restores view-state information from a previous page request that was saved by the <see cref="M:System.Web.UI.IStateManager.SaveViewState" /> method.</para>
395        </summary>
396      </Docs>
397    </Member>
398    <Member MemberName="System.Web.UI.IStateManager.SaveViewState">
399      <MemberSignature Language="C#" Value="object IStateManager.SaveViewState ();" />
400      <MemberType>Method</MemberType>
401      <AssemblyInfo>
402        <AssemblyVersion>2.0.0.0</AssemblyVersion>
403      </AssemblyInfo>
404      <ReturnValue>
405        <ReturnType>System.Object</ReturnType>
406      </ReturnValue>
407      <Parameters />
408      <Docs>
409        <remarks>
410          <attribution license="cc4" from="Microsoft" modified="false" />
411          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> instance is cast to an <see cref="T:System.Web.UI.IStateManager" /> interface.</para>
412        </remarks>
413        <summary>
414          <attribution license="cc4" from="Microsoft" modified="false" />
415          <para>Saves any server control view-state changes that have occurred since the time the page was posted back to the server.</para>
416        </summary>
417        <returns>
418          <attribution license="cc4" from="Microsoft" modified="false" />
419          <para>The server control's current view state.</para>
420        </returns>
421      </Docs>
422    </Member>
423    <Member MemberName="System.Web.UI.IStateManager.TrackViewState">
424      <MemberSignature Language="C#" Value="void IStateManager.TrackViewState ();" />
425      <MemberType>Method</MemberType>
426      <AssemblyInfo>
427        <AssemblyVersion>2.0.0.0</AssemblyVersion>
428      </AssemblyInfo>
429      <ReturnValue>
430        <ReturnType>System.Void</ReturnType>
431      </ReturnValue>
432      <Parameters />
433      <Docs>
434        <remarks>
435          <attribution license="cc4" from="Microsoft" modified="false" />
436          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.MailDefinition" /> instance is cast to an <see cref="T:System.Web.UI.IStateManager" /> interface.</para>
437        </remarks>
438        <summary>
439          <attribution license="cc4" from="Microsoft" modified="false" />
440          <para>Causes tracking of view-state changes to the server control so they can be stored in the server control's <see cref="T:System.Web.UI.StateBag" /> object.</para>
441        </summary>
442      </Docs>
443    </Member>
444  </Members>
445</Type>