Edit

Share via


IScriptControl.GetScriptDescriptors Method

Definition

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