System.Devices.ChargingState

Device charging status.

propertyDescription
   name = System.Devices.ChargingState
   shellPKey = PKEY_Devices_ChargingState
   formatID = 49CD1F76-5626-4B17-A4E8-18B4AA1A2213
   propID = 11
   searchInfo
      inInvertedIndex = false
      isColumn = false
      isColumnSparse = false
      columnIndexType = NotIndexed
      maxSize = 128
   labelInfo
      label = Battery Charging State
      sortDescription
      invitationText
      hideLabel = false
   typeInfo
      type = Byte
      groupingRange = Discrete
      isInnate = true
      canBePurged
      multipleValues = false
      isGroup = false
      aggregationType = Default
      isTreeProperty = false
      isViewable = true
      isQueryable = false
      includeInFullTextQuery = false
      conditionType = String
      defaultOperation = Equal
   aliasInfo
      sortByAlias = None
      additionalSortByAliases = None
   displayInfo
      defaultColumnWidth = 20
      displayType = Enumerated
      alignment = Left
      relativeDescriptionType = General
      defaultSortDirection = Ascending
      stringFormat
         formatAs = General
      booleanFormat
         formatAs = YesNo
      numberFormat
         formatAs = General
         formatDurationAs = hh:mm:ss
      dateTimeFormat
         formatAs = General
         formatTimeAs = ShortTime
         formatDateAs = ShortDate
      enumeratedList
         defaultText
         useValueForDefault = False
         enum
            value
            text
         CHARGINGSTATE_NOT_CHARGING
            minValue = 0
            setValue = 0
            text = Not charging
         CHARGINGSTATE_CHARGING
            minValue = 1
            setValue = 1
            text = Charging
         CHARGINGSTATE_UNKNOWN_STATE
            minValue = 2
            setValue = 2
            text = Unknown charging state
      drawControl
         control = Default
      editControl
         control = Default
      filterControl
         control = Default
      queryControl
         control = Default

Remarks

PKEY values are defined in Propkey.h.

Related topics

propertyDescription
searchInfo
labelInfo
typeInfo
displayInfo
stringFormat
booleanFormat
numberFormat
dateTimeFormat
enumeratedList
drawControl
editControl
filterControl
queryControl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft