|
Method |
Description |
Issues/Potential Problems |
Collect |
PM calls this to update its graph. You return the current value of your local variable here. |
N/A |
GetDataType |
This method returns the data type it's dealing with to the PM. |
The only currently accepted return value is vbLong. This shouldn't be a problem though, because all counter monitoring can be accomplished with this data type. |
GetHelp |
Returns the help string for this particular CO. |
N/A |
GetIndex |
This returns the index value of the counter object. |
Your first CO returns the value 2. The second returns 4, the third 6, and so on. Don't stray from this path. |
GetName |
Sets the name that appears in the PM Counter listbox. |
Unlike the PO, you can return a name with spaces. |