System.Web.UI.TemplateInstanceAttribute.Single Field

Creates an instance of the System.Web.UI.TemplateInstanceAttribute class as one representing a template that will be instantiated a single time. This field is read-only.

Syntax

public static readonly TemplateInstanceAttribute Single

Remarks

If the TemplateInstanceAttribute.Single field is accessed, a new template instance is instantiated a single time.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0