File: IStateFormatter.xml

package info (click to toggle)
mono-reference-assemblies 3.12.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 604,240 kB
  • ctags: 625,505
  • sloc: cs: 3,967,741; xml: 2,793,081; ansic: 418,042; java: 60,435; sh: 14,833; makefile: 11,576; sql: 7,956; perl: 1,467; cpp: 1,446; yacc: 1,203; python: 598; asm: 422; sed: 16; php: 1
file content (82 lines) | stat: -rw-r--r-- 4,750 bytes parent folder | download | duplicates (8)
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
<?xml version="1.0" encoding="utf-8"?>
<Type Name="IStateFormatter" FullName="System.Web.UI.IStateFormatter">
  <TypeSignature Language="C#" Value="public interface IStateFormatter" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Interfaces />
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.IStateFormatter" /> interface defines methods that a type can implement to serialize and deserialize the state that an ASP.NET Web server control maintains in its <see cref="P:System.Web.UI.Control.ViewState" /> property. This infrastructure is used by classes that derive from the <see cref="T:System.Web.UI.PageStatePersister" /> class to maintain an ASP.NET page's state between requests. By default, ASP.NET page state is serialized and deserialized by an instance of the <see cref="T:System.Web.UI.ObjectStateFormatter" /> class; however, site and adapter developers can implement the <see cref="T:System.Web.UI.IStateFormatter" /> interface on their own types to perform this work.</para>
      <para>For more information about Web server control state management and view state, see <format type="text/html"><a href="0218d965-5d30-445b-b6a6-8870e70e63ce">ASP.NET State Management Overview</a></format> and <format type="text/html"><a href="c1ea6a66-3307-4c98-8187-cad462e1c027">Dynamic Web Server Controls and View State</a></format>. </para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Defines methods that a type implements to serialize and deserialize an object graph. </para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="Deserialize">
      <MemberSignature Language="C#" Value="public object Deserialize (string serializationState);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Object</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="serializationState" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="serializationState">To be added.</param>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.IStateFormatter.Deserialize(System.String)" /> method to reconstitute the state object for an ASP.NET page or server control that has been serialized using the <see cref="M:System.Web.UI.IStateFormatter.Serialize(System.Object)" /> method. </para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Deserializes an object state graph from its serialized string form.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>An object that represents the state of an ASP.NET server control.</para>
        </returns>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Serialize">
      <MemberSignature Language="C#" Value="public string Serialize (object state);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="state" Type="System.Object" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.IStateFormatter.Serialize(System.Object)" /> method to transform an object state graph to string form. Reconstitute a state object from the string using the <see cref="M:System.Web.UI.IStateFormatter.Deserialize(System.String)" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Serializes ASP.NET Web server control state to string form.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A string that represents a Web server control's view state. </para>
        </returns>
        <param name="state">
          <attribution license="cc4" from="Microsoft" modified="false" />The object that represents the view state of the Web server control to serialize to string form.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>