IScriptControl.GetScriptDescriptors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of script descriptors that represent ECMAScript (JavaScript) client components.
public:
System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ GetScriptDescriptors();
public System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> GetScriptDescriptors ();
abstract member GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>
Public Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor)
Returns
An IEnumerable collection of ScriptDescriptor objects.
Remarks
Implement this method to define components, behaviors, or client controls from the Microsoft Ajax Library that the server control requires. This method enables you to pass declaratively specified parameters to Microsoft Ajax Library functions.
To use this method, you must also implement the abstract ScriptDescriptor class.
Applies to
.NET