Archives

Archives / 2007 / April
  • WMI7: Getting the 'Values' Qualifier...

    In WMI, there's really not a concept of an Enum datatype.  Instead, the datatype is still defined as an int but they allow you to attach metadata to the property to specify the allowable values and its respective Enum name.  For example, in c#, you would define an enum similar to: