Επεξεργασία

Κοινή χρήση μέσω


PartialCachingControl.CachedControl Property

Definition

Gets a reference to the user control that is cached.

public:
 property System::Web::UI::Control ^ CachedControl { System::Web::UI::Control ^ get(); };
public System.Web.UI.Control CachedControl { get; }
member this.CachedControl : System.Web.UI.Control
Public ReadOnly Property CachedControl As Control

Property Value

The user control that is cached.

Remarks

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.

Applies to