Description

A user-definable object.

Remarks

The Object object supports dynamic (expando) properties, or properties that can be added and removed while the script is running. These properties can have any name, including numbers. A name of a property that is a simple identifier can be written after a period that follows the object name, such as:

$Object = $System.Object() ; Add two expando properties, 'Name' and 'Age' $Object.Name = "Fred" $Object.Age = 53

For a detailed discussion on object-oriented scripting, see Object Oriented Scripting.


The CHM file was converted to HTML by chm2web software.