InternetUnicodeHTMLCSSScalable Vector Graphics (SVG)Extensible Markup Language (xml)ASP.NetDocument Object Model (DOM)JavaScript Server-Side VBScriptVBScript Basic ElementVBScript OperatorVBScript StatementVBScript FunctionVBScript Object Draft for Information Only
ContentVBScript Object Elements
VBScript Object ElementsUnlike a procedure, an Object is a wrapper of things. In general, things inside an Object are always considered as the element of an Object. Although variables, Subs, and Functions used inside an Object have the same properties, and scope and lifetime, the variables, Subs, and Functions must be accessed through the Object wrapper. In order to hide information and data of things behind an Object, two typical elements, Method and Property, are used to manipulate an Object. Besides, two additional elements, Collection and Event, are also added to increase the functionality of an Object. MethodA Methoud is usually defined as an action that an Object can perform. A Method is actually an embedded function or procedure inside the object used to manipulate the actions or behaviors of an Object. A Method can be Private procedures for internal used by the Object only or Public functions that can be accessed or operated by external assignment also. For example, strVar =objObject.MethodName(strVar), objObject.MethodName(strVar). PropertyA Property is usually defined as an attribute, or an aspect of the behavior of an Object. A Property is basically an embedded function or procedure inside an Object used to manipulate the data or parameters of an Object. In fact, Property is always used to manipulate the variable of an Object. For example, strMyVar = objObject.Property="This is a string variant" CollectionA Collection is a set of ordered things that do not have to be of the same data type. A Collection is a flexiable array with the index number of an item element is updated when an item element is added or removed. The indexed number of the elements of a Collection usually begins at 1. However the indexed number of a Collection Array may begins at 0. EventIn general, an Event is a trigger action due to the status change caused by user actions, applications or the operating system. Sometimes, an Event is also refered to an Event response, that is an associated routine of which triggered by an Event action. Predefined ElementsSome typical predefined Elements are
©sideway ID: 180500006 Last Updated: 5/6/2018 Revision: 0 Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Reference 79 Computer Hardware 249 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 429 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019