The Folder object represents either a portfolio or a folder inside a portfolio. It can contain other folders as well as tickers.
Name
Type: String
Description: Name of this folder
Tickers (read-only)
Type: Collection of Ticker objects
Description: Collection of all tickers in this folder.
Folders (read-only)
Type: collection of Folder objects
Description: Collection of all sub-folders in this folder
ParentFolder (read-only)
Type: Folder
Description: Parent folder of this folder, if the folder is nested, or Nothing if this is a top level folder or is not in the document hierarchy.
GetProperty(name)
name: String
Returns: Variant
Description: Get the named property for this folder. Valid properties are: Name, ID, UpdateInterval, Active. (Access to the "Active" property requires Personal Stock Streamer 7.02 or later.)
SetProperty(name, value)
name: String
value: Variant
Description: Set the named property for this folder. Valid properties are: Name, UpdateInterval.
Insert(nIndex, object)
nIndex: integer
Description: insert an object into this folder at the given index. If the index is -1, then the ticker is inserted at the end.
Remove(object)
Description: remove the given object from this folder. Note that the actual object is not deleted from memory until all references to it have been released.