Sideway BICK BlogSideway BICK BLOG from Sideway

A Sideway to Sideway Home

Link:http://output.to/sideway/default.asp?qno=180600003

Script, Scripting Language, VBScript elements, Server-Side VBScript Object Element Collection Property

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 12/9/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.

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 12/9/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.

Remarks

  • 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,

Sideway BICK Blog

03/06


Copyright © 2000-2020 Sideway . All rights reserved Disclaimerslast modified on 26 January 2013