TemplateInstanceAttribute.Single Field


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

public: static initonly System::Web::UI::TemplateInstanceAttribute ^ Single;
public static readonly System.Web.UI.TemplateInstanceAttribute Single;
 staticval mutable Single : System.Web.UI.TemplateInstanceAttribute
Public Shared ReadOnly Single As TemplateInstanceAttribute 

Field Value


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

Applies to

See also