Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.ItemTypeText

The user-friendly type name of the item. This value is not intended to be programmatically parsed.

propertyDescription
   name = System.ItemTypeText
   shellPKey = PKEY_ItemTypeText
   formatID = B725F130-47EF-101A-A5F1-02608C9EEBAC
   propID = 4
   searchInfo
      inInvertedIndex = true
      isColumn = true
      isColumnSparse = false
      columnIndexType = OnDemand
      maxSize = 128
      mnemonics = item type text|#NOLABEL
   labelInfo
      label = Type
      sortDescription
      invitationText = Specify type
      hideLabel = false
   typeInfo
      type = String
      groupingRange = Discrete
      isInnate = true
      canBePurged = false
      multipleValues = false
      isGroup = false
      aggregationType = Union
      isTreeProperty = false
      isViewable = true
      isQueryable (Vista) = true
      includeInFullTextQuery (Vista) = false
      searchRawValue (Windows 7) = true
      conditionType = String
      defaultOperation = Equal
   aliasInfo
      sortByAlias = None
      additionalSortByAliases = prop:System.ItemNameDisplay
   displayInfo
      defaultColumnWidth = 15
      displayType
      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
         enumRange
            minValue
            setValue
            text
      drawControl
         control = Default
      editControl
         control = Default
      filterControl
         control = Default
      queryControl
         control = Default

Remarks

PKEY values are defined in Propkey.h.

If System.ItemType is VT_EMPTY, the value of this property is also VT_EMPTY. If the item is a file, the value of this property is the same as if you passed the file's System.ItemType value to PSFormatForDisplay.

This property should not be confused with System.Kind, which is a high-level, user-friendly kind name. For example, for a .doc document file, the various properties are as shown here:

PropertyValue
System.Kind Document
System.ItemType .doc
System.ItemTypeText Microsoft Word Document

 

Example values:

PathItemTypeText
c:\mydir\bar\hello.txtText File
\\server\share\mydir\goodnews.docMicrosoft Word Document
\\server\share\folderFile Folder
c:\MyDir\MyFolderFile Folder
/Mailbox Account/Inbox/'Re: Hello!'Outlook E-Mail Message

 

Related topics

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

 

 

Community Additions

Show:
© 2015 Microsoft