Timer.IScriptControl.GetScriptDescriptors Method


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

 virtual System::Collections::Generic::IEnumerable<System::Web::UI::ScriptDescriptor ^> ^ System.Web.UI.IScriptControl.GetScriptDescriptors() = System::Web::UI::IScriptControl::GetScriptDescriptors;
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> IScriptControl.GetScriptDescriptors ();
Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor) Implements 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.

Applies to