Sideway
output.to from Sideway
Draft for Information Only

Content

VBScript Properties of Collection
 Count Property
  Syntax
  Argument
  Remark
  Applied to
 Item Property
  Syntax
  Argument
  Remark
  Applied to
 Item Property
  Syntax
  Argument
  Remark
  Applied to

VBScript Properties of Collection

Some typical predefined Elements are.

  • FileSystemObject Object:
    • Drives Property ≡ Drives Collection
  • FileSystemObject Object:
    • Folder Object
      • SubFolders Property ≡ Folders Collection

Count Property

last updated 09 Dec 2017

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.

Remark

  • 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 09 Dec 2017

is to return the read-only item of an element in the associated collection or Object according to the specified key

Syntax

objvar.Item(key)

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..Required. the dot notation used to access the Property of an object.(…)Required. the brackets to enclose the parameters.

Remark

  • Item Property is a genetic Property for all being supported Object.
  • Item Property is a read-only property.
  • An error will return if the specified key is not found.

Applied to

Matches Collection,

Item Property

last updated 09 Dec 2017

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.

Remark

  • 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

©sideway

ID: 180600003 Last Updated: 6/3/2018 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339new

Travel 7new

Reference 79

Computer

Hardware 251

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 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019