Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

GetScriptDescriptors Method

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

Syntax

CSharp

protected virtual IEnumerable<ScriptDescriptor> GetScriptDescriptors ()

VisualBasic

Protected Overridable Function GetScriptDescriptors As IEnumerable(Of ScriptDescriptor)

ManagedCPlusPlus

protected:
virtual IEnumerable<ScriptDescriptor^>^ GetScriptDescriptors ()

JSharp

protected IEnumerable<ScriptDescriptor> GetScriptDescriptors ()

Return Value

Return Value

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.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)