Timer.IScriptControl.GetScriptDescriptors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ();
abstract member System.Web.UI.IScriptControl.GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>
override this.System.Web.UI.IScriptControl.GetScriptDescriptors : unit -> seq<System.Web.UI.ScriptDescriptor>
Function GetScriptDescriptors () As IEnumerable(Of ScriptDescriptor) Implements IScriptControl.GetScriptDescriptors
Returns
An array of type ScriptDescriptor.
Implements
Remarks
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.