The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TemplateInstanceAttribute::Instances Property
.NET Framework (current version)
Gets the TemplateInstance enumeration value that the current template instance represents.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Web.UI::TemplateInstanceA TemplateInstance enumeration value that the current template instance represents.
The following code example demonstrates how to use the Instances property. In the Page_Load event of an ASPX page, the MyLoginViewA custom control's TemplateInstanceAttribute class for the AnonymousTemplate property is queried.
For the definition of MyLoginViewA control, see TemplateInstanceAttribute.
.NET Framework
Available since 2.0
Available since 2.0
Show: