This documentation is archived and is not being maintained.
ScriptComponentDescriptor Class
Visual Studio 2008
Provides a wrapper for converting server components into client script.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
'Declaration <AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ <AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ Public Class ScriptComponentDescriptor _ Inherits ScriptDescriptor 'Usage Dim instance As ScriptComponentDescriptor
This class uses an internal dictionary to hold references to components, elements, properties, and events. To populate this dictionary, use the AddComponentProperty, AddElementProperty, AddProperty, and AddEvent methods. When you are finished, call the GetScript method to generate the client script.
System.Object
System.Web.UI.ScriptDescriptor
System.Web.UI.ScriptComponentDescriptor
System.Web.UI.ScriptBehaviorDescriptor
System.Web.UI.ScriptControlDescriptor
System.Web.UI.ScriptDescriptor
System.Web.UI.ScriptComponentDescriptor
System.Web.UI.ScriptBehaviorDescriptor
System.Web.UI.ScriptControlDescriptor
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: