System.Web.UI.TemplateInstanceAttribute Members

The members of System.Web.UI.TemplateInstanceAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Initializes a new instance of the System.Web.UI.TemplateInstanceAttribute class with the specified System.Web.UI.TemplateInstance enumeration value.

Public Fields

static readonly
DefaultTemplateInstanceAttribute.

Defines the default value for the System.Web.UI.TemplateInstanceAttribute class. This field is read-only.

static readonly
MultipleTemplateInstanceAttribute.

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

static readonly
SingleTemplateInstanceAttribute.

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.

Public Properties

[read-only]
InstancesTemplateInstance.

Gets the System.Web.UI.TemplateInstance enumeration value that the current template instance represents.

Public Methods

override
Equals(object) : bool

Indicates whether the specified object is a System.Web.UI.TemplateInstanceAttribute object and is identical to the this System.Web.UI.TemplateInstanceAttribute object.

override
GetHashCode() : int

Gets a hash code for this System.Web.UI.TemplateInstanceAttribute object.

override
IsDefaultAttribute() : bool

Returns a value indicating if the current System.Web.UI.TemplateInstanceAttribute object is the same as the default System.Web.UI.TemplateInstanceAttribute object.