Sideway
output.to from Sideway






Draft for Information Only

VBScript Object Methods

Some typical predefined Elements are.

  •  Object:
    • Exists Method
    • Items Method
    • Keys Method
    • Remove Method
    • RemoveAll Method
  • Dictionary Object:
    • Add Method

Add Method

last updated 2017/12/9

is to add a given key and item pair to the associated Dictionary Object.

Syntax

dictobjvar.Add key, item

Argument

dictobjvarRequired. Must be the variable name of a Dictionary Object.AddRequired Method Keyword. To specify the Add Method of a Dictionary Object.keyRequired. The key associated with the item being added.itemRequired. The item associated with the key being added..Required. the dot notation used to access the Method of an object.,Required. the delimiter to separate the key and item parameters.

Remarks

  • An error occurs if the key already exists.

Applied to

Dictionary Object

Exists Method

last updated 2017/12/9

is to return a Boolean value indicating the given key exist with True or does not exist with False.

Syntax

objvar.Exists(key)

Argument

objvarRequired. the variable name of the associated Object instantance.ExistsRequired Method Keyword. to specify the Exists Method of an Object.keyRequired. to specify the key that being searched for in the object..Required. the dot notation used to access the Method of an object.(…)Required. the brackets to enclose the key.

Remarks

  • Exists Method is a genetic Method for all being supported Object.

Applied to

Dictionary Object

Items Method

last updated 2017/12/9

is to return an array containing all existing items of the associated Dictionary Object.

Syntax

objvar.Items()

Argument

objvarRequired. the variable name of the associated Object instantance.ItemsRequired Method Keyword. to specify the Items Method of an Object..Required. the dot notation used to access the Method of an object.(…)Required. the brackets to enclose any needed parameter.

Remarks

  • Items Method is a genetic Method for all being supported Object.

Applied to

Dictionary Object

Keys Method

last updated 2017/12/9

is to return an array containing all existing keys of the associated Dictionary Object.

Syntax

objvar.Keys()

Argument

objvarRequired. The variable name of the associated Object instantance.KeysRequired Method Keyword. To specify the Keys Method of an Object..Required. the dot notation used to access the Method of an object.(…)Required. the brackets to enclose any needed parameter.

Remarks

  • Keys Method is a genetic Method for all being supported Object.

Applied to

Dictionary Object

Remove Method

last updated 2017/12/9

is to remove an element with the specified key from an associated Dictionary Object.

Syntax

objvar.Remove(key)

Argument

objvarRequired. The variable name of the associated Object instantance.RemoveRequired Method Keyword. To specify the Remove Method of an Object.keyRequired. To specify the Key of the element of an Object to be removed..Required. the dot notation used to access the Method of an object.(…)Required. the brackets to enclose the key.

Remarks

  • Remove Method is a genetic Method for all being supported Object.
  • An error occurs if the specified key does not exist.

Applied to

Dictionary Object

RemoveAll Method

last updated 2017/12/9

is to remove all elements of the associated Dictionary Object.

Syntax

objvar.RemoveAll()

Argument

objvarRequired. The variable name of the associated Object instantance.RemoveAllRequired Method Keyword. To specify the RemoveAll Method of an Object..Required. the dot notation used to access the Method of an object.(…)Required. the brackets to enclose any needed parameter.

Remarks

  • RemoveAll Method is a genetic Method for all being supported Object.

Applied to

Dictionary Object

©sideway

ID: 180500009 Last Updated: 2018/5/9 Revision:

IMAGE

Home (1)

Business

Management

HBR (3)

Information

Recreation

Hobbies (7)

Culture

Chinese (1097)

English (330)

Reference (60)

Computer

Hardware (147)new

Software

Application (184)

Digitization (22)

Numeric (19)

Programming

Web (507)

HTML

Knowledge Base

Common Color (1)

Html Entity (Unicode) (1)

Html 401 Special (1)

OS (305)new

MS Windows

Windows10 (1)

DeskTop (5)

Knowledge

Mathematics

Formulas (7)

Number Theory (51)

Algebra (14)

Trigonometry (18)

Geometry (18)

Calculus (66)

Engineering

Tables (8)

Mechanical

Control

Process Control (1)

Mechanics (1)

Rigid Bodies

Statics & Dynamics (128)

Fluid (5)

Fluid Kinematics (5)

Acoustics (19)

FiniteElement (2)

Biology (1)

Geography (1)


facebook
Latest Updated Links

Copyright © 2000-2018 Sideway . All rights reserved Disclaimersfacebook last modified on 08 Mar 2018