Timer.IScriptControl.GetScriptDescriptors Method ()


Retrieves properties from a Timer object that are passed to the client component.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

IEnumerable<ScriptDescriptor> IScriptControl.GetScriptDescriptors()

This member is an explicit interface member implementation. It can be used only when the Timer instance is cast to an IScriptControl interface.

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

.NET Framework
Available since 3.5
Return to top