Converting VBScript's Property Set Statement

Definition: Declares, in a Class block, the name, arguments, and code that form the body of a Property procedure that sets a reference to an object.

Property Set

The VBScript Set statement is used when working with VBScript classes. Custom classes are theoretically possible in Windows PowerShell, but lie far beyond the scope of this introductory document. Therefore, we’ll take the easy way out and simply say that there is no Windows PowerShell equivalent to the Set statement.

Return to the VBScript to Windows PowerShell home page