IExtenderControl.GetScriptDescriptors(Control) Method

Definition

Registers the ScriptDescriptor objects for the control and returns an object that contains the ScriptDescriptor objects for the control.

public:
 System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ GetScriptDescriptors(System::Web::UI::Control ^ targetControl);
public System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> GetScriptDescriptors (System.Web.UI.Control targetControl);
abstract member GetScriptDescriptors : System.Web.UI.Control -> seq<System.Web.UI.ScriptDescriptor>
Public Function GetScriptDescriptors (targetControl As Control) As IEnumerable(Of ScriptDescriptor)

Parameters

targetControl
Control

The server control that the extender is associated with.

Returns

An IEnumerable collection that contains ScriptDescriptor objects.

Applies to