Iterate through an object's properties (any object)
Iterate through an object's properties (any object)
Author
Message
Nolan Bagadio #1 / 4
Iterate through an object's properties (any object)
Say I have an object (in this case a WMI Win32_NTLogEvent) and I want to iterate throught that object's properities. Can I do this in general or does the object have to support it?
TIA,
Nolan
Sat, 30 Jul 2005 22:27:09 GMT
Joe Fawcet #2 / 4
Iterate through an object's properties (any object)
Quote:
> Say I have an object (in this case a WMI Win32_NTLogEvent) and I want > to iterate throught that object's properities. Can I do this in > general or does the object have to support it?
> TIA,
> Nolan
I believe you need the 'properties_' property which returns a collection of properties.
Joe
Sat, 30 Jul 2005 22:48:27 GMT
Nolan Bagadio #3 / 4
Iterate through an object's properties (any object)
Do you have an example?
NB
Sun, 31 Jul 2005 03:54:41 GMT
Joe Fawcet #4 / 4
Iterate through an object's properties (any object)