Iterate through an object's properties (any object) 
Author Message
 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  
 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  
 Iterate through an object's properties (any object)
Do you have an example?

NB



Sun, 31 Jul 2005 03:54:41 GMT  
 Iterate through an object's properties (any object)


Quote:
> Do you have an example?

> NB

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmis...

Joe



Mon, 01 Aug 2005 01:57:32 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Iterating through the properties of an object?

2. Iterating through properties of a VB com object at runtime

3. Iterating through the properties of an object

4. Object Properties don't see in properties Window

5. Object doesn't support this property or method : 'DTSGlobalVariables(...).Value.Open

6. Iterating a form's property values

7. Object doesn't support this property or method

8. Problems reading objects property of Select object

9. Object doesn't support this property/method??????

10. Object doesn't support this property or method

11. IE 5.0: Object doesn't support property or method

12. Object doesn't support this property or method

 

 
Powered by phpBB® Forum Software