Timer.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 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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour