Modifier

Partager via


Timer.GetScriptDescriptors Method

Definition

Retrieves properties from a Timer object that are passed to the client component that implements timer logic in the browser.

protected:
 virtual System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ GetScriptDescriptors();
protected virtual System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> GetScriptDescriptors ();
abstract member GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>
override this.GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>
Protected Overridable Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor)
Protected Iterator Overridable Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor)

Returns

An array of type ScriptDescriptor.

Remarks

The GetScriptDescriptors method adds the Interval and Enabled properties from an instance of the Timer class to a ScriptDescriptor object. The client component accesses the values and sets the corresponding values in script.

Applies to