a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
59 lines
3.1 KiB
XML
59 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="TemplateInstance" FullName="System.Web.UI.TemplateInstance">
|
|
<TypeSignature Language="C#" Value="public enum TemplateInstance" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Web</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Enum</BaseTypeName>
|
|
</Base>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Web.UI.TemplateInstance" /> enumeration specifies values indicating the number of times an instance of a template can be created. The <see cref="T:System.Web.UI.TemplateInstanceAttribute" /> class uses values from the <see cref="T:System.Web.UI.TemplateInstance" /> enumeration. In particular, the <see cref="F:System.Web.UI.TemplateInstanceAttribute.Single" /> and <see cref="F:System.Web.UI.TemplateInstanceAttribute.Multiple" /> fields specify single and multiple instances of a template, respectively. A single instance of a template allows you to reference controls that are contained within the template.</para>
|
|
<para>Examples of controls that use the <see cref="F:System.Web.UI.TemplateInstance.Single" /> value in property metadata include the <see cref="P:System.Web.UI.WebControls.WebParts.CatalogZone.ZoneTemplate" /> property of the <see cref="T:System.Web.UI.WebControls.WebParts.CatalogZone" /> control, the <see cref="P:System.Web.UI.WebControls.WebParts.EditorZone.ZoneTemplate" /> property of the <see cref="T:System.Web.UI.WebControls.WebParts.EditorZone" /> control, and the <see cref="P:System.Web.UI.WebControls.WebParts.WebPartZone.ZoneTemplate" /> property of the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartZone" />.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Specifies how many times an instance of a template can be created.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="Multiple">
|
|
<MemberSignature Language="C#" Value="Multiple" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Web.UI.TemplateInstance</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A template that is instantiated multiple times. </para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Single">
|
|
<MemberSignature Language="C#" Value="Single" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Web.UI.TemplateInstance</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A template that is instantiated only one time. </para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |