Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








TargetControlTypeAttribute Class

Extends the Attribute class to indicate the type of server control an extender control can be applied to.



[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class TargetControlTypeAttribute : Attribute


<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class TargetControlTypeAttribute _
	Inherits Attribute


[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class TargetControlTypeAttribute sealed : public Attribute


/** @attribute AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */
public final class TargetControlTypeAttribute extends Attribute


TargetControlTypeAttributeNew(Type)Initializes a new instance of the TargetControlTypeAttribute class.
Equals(Object)Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Finalize()Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode()Returns the hash code for this instance. (Inherited from Attribute.)
GetType()Gets the Type of the current instance. (Inherited from Object.)
IsDefaultAttribute()When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Match(Object)When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
TargetControlTypeGets the type of the target control, as specified in the constructor.
ToString()Returns a String that represents the current Object. (Inherited from Object.)
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)

Inheritance Hierarchy


Assembly: System.Web.Extensions (Module: System.Web.Extensions)