Sideway
output.to from Sideway






Draft for Information Only

VBScript Object Properties

Some typical predefined Elements are.

  •  Object:
    •  Count Property
    •  Item Property
    •  Key Property
    •  CompareMode Property

Count Property

last updated 2017/12/9

is to return the read-only number of elements in the associated Collection or Object.

Syntax

objvar.Count

Argument

objvarRequired. The variable name of the associated Object instantance.CountRequired Property Keyword. To specify the Count Property of an Object..Required. The dot notation used to access the Property of an object.

Remarks

  • Count Property is a genetic Property for all being supported Object.
  • Count Property is a read-only property.

Applied to

Dictionary Object, Drives Collection, Files Collection, Folders Collection, Matches Collection

Item Property

last updated 2017/12/9

is to set, if optional itemnew is given, the item of an element with the specified key, or to create if the specified key is not found, an element with key, itemnew, or to return the item with the specified key in associated Dictionary Object.

Syntax

objvar.Item(key)[ = itemnew]

Argument

objvarRequired. The variable name of the associated Object instantance.ItemRequired Property Keyword. To specify the Item Property of an Object.keyRequired. To specify the key used to return the item of the specified key or to set the element with the specified key with the optional itemnew.itemnewOptional. Required for setting the value of item with specified key to itemnew..Required. the dot notation used to access the Property of an object. (…)Required. the brackets to enclose the parameters.=Optionial. required as assigning equal to operator for setting the value of item with specified key to itemnew.

Remarks

  • Item Property is a genetic Property for all being supported Object.
  • Item Property is a read/write property.
  • If key is not found when changing an item, the given key is always created with item value equals to the specified optional itemnew.
  • If key is not found when attempting to return an existing item, the given key is created with empty associated item.

Applied to

Dictionary Object

Key Property

last updated 2017/12/9

is to set the specified key of an element with the specified keynew key, or to create if the specified key is not found, an element with empty item in associated Dictionary Object

Syntax

objvar.Key(key) = keynew

Argument

objvarRequired. The variable name of the associated Object instantance.KeyRequired Property Keyword. To specify the Key Property of an Object.keyRequired. To specify the key used to set or create the key value of the specified key with the keynew.keynewRequired. For setting the value of key to itemnew..Required. The dot notation used to access the Property of an object. (…)Required. The brackets to enclose the parameters.=Required. required as assigning equal to operator for setting the value of key to keynew.

Remarks

  • Key Property is a genetic Property for all being supported Object.
  • Key Property is a write property.
  • ?????If key is not found when changing a key, a new key is always created with empty associated item.?????

Applied to

Dictionary Object

CompareMode Property

last updated 2017/12/9

is to set, if optional comparenew is given, or to return the comparison mode for comparing string keys of associated Dictionay Object.

Syntax

objvar.CompareMode[ = comparenew]

Argument

objvarRequired. The variable name of the associated Object instantance.CompareModeRequired Property Keyword. To specify the CompareMode Property of an Object.comparenewOptional Setting. for setting the CompareMode to comparenew..Required. The dot notation used to access the Property of an object. =Required. required as assigning equal to operator for setting CompareMode to comparenew.

Settings

CompareMode Setting

comparenewDescription0Perform a binary comparison.1Perform a textual comparison.2Database>2 used to refer to comparisons using specific Locale IDs (LCID).

Remarks

  • CompareMode is a genetic Property for all being supported Object.
  • CompareMode Property is a read/write property.
  • An error occurs if trying to change the comparison mode of a Dictionary object that already contains data.

Applied to

Dictionary Object

©sideway

ID: 180500010 Last Updated: 2018/5/10 Revision:

IMAGE

Home (1)

Business

Management

HBR (3)

Information

Recreation

Hobbies (7)

Culture

Chinese (1097)

English (334)new

Reference (60)

Computer

Hardware (148)

Software

Application (187)

Digitization (24)

Numeric (19)

Programming

Web (533)

HTML

Knowledge Base

Common Color (1)

Html Entity (Unicode) (1)

Html 401 Special (1)

OS (366)

MS Windows

Windows10 (1)

DeskTop (5)

Knowledge

Mathematics

Formulas (8)

Number Theory (128)new

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