<?xml version="1.0" encoding="utf-8"?>
<Type Name="PartialCachingControl" FullName="System.Web.UI.PartialCachingControl">
  <TypeSignature Language="C#" Maintainer="auto" Value="public class PartialCachingControl : System.Web.UI.BasePartialCachingControl" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
  <Base>
    <BaseTypeName>System.Web.UI.BasePartialCachingControl</BaseTypeName>
  </Base>
  <Interfaces>
  </Interfaces>
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Page and control developers cannot use the <see cref="T:System.Web.UI.PartialCachingControl" /> class directly. ASP.NET creates an instance of the <see cref="T:System.Web.UI.PartialCachingControl" /> class to wrap a user control (.ascx file) when a dynamically loaded user control enables output caching. You can enable output caching for a user control using either the <format type="text/html"><a href="28a9e101-fb44-4198-9cb6-b8a52312fec2">@ OutputCache</a></format> page directive or the <see cref="T:System.Web.UI.PartialCachingAttribute" /> attribute.</para>
      <para>You add a user control to a page programmatically by calling the <see cref="M:System.Web.UI.TemplateControl.LoadControl(System.String)" /> method.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Created when a user control (.ascx file) is specified for output caching, using either the <format type="text/html"><a href="28a9e101-fb44-4198-9cb6-b8a52312fec2">@ OutputCache</a></format> page directive or the <see cref="T:System.Web.UI.PartialCachingAttribute" /> attribute, and the user control is inserted into a page's control hierarchy by dynamically loading the user control with the <see cref="M:System.Web.UI.TemplateControl.LoadControl(System.String)" /> method.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="CachedControl">
      <MemberSignature Language="C#" Value="public System.Web.UI.Control CachedControl { get; }" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.Control</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added: an object of type 'Control'</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>This property returns the user control only when its output is not cached. If the user control output exists in the output cache, this property returns null, because an instance of the control is never created.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a reference to the user control that is cached.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>