Share via


System.ItemTypeText

專案的使用者易記類型名稱。 此值並非以程式設計方式剖析。

Windows 10版本 1703、Windows 10版本 1607、Windows 10、版本 1511、Windows 10、版本 1507、Windows 8.1、Windows 8、Windows 7、Windows Vista

propertyDescription
   name = System.ItemTypeText
   shellPKey = PKEY_ItemTypeText
   formatID = B725F130-47EF-101A-A5F1-02608C9EEBAC
   propID = 4
   SearchInfo
      InInvertedIndex = true
      IsColumn = true
   typeInfo
      type = String
      IsInnate = true

備註

PKEY 值定義于 Propkey.h 中。

如果 System.ItemType 是VT_EMPTY,則此屬性的值也會VT_EMPTY。 如果專案是檔案,則此屬性的值與您將檔案的 System.ItemType 值傳遞至 PSFormatForDisplay時相同。

此屬性不應與 System.Kind混淆,這是高階的使用者易記種類名稱。 例如,對於.doc檔檔,各種屬性如下所示:

屬性
System.Kind 文件
System.ItemType .doc
System.ItemTypeText Microsoft Word檔

 

範例值:

路徑 ItemTypeText
c:\mydir\bar\hello.txt 文字檔
\\server\share\mydir\goodnews.doc Microsoft Word檔
\\server\share\folder 檔案資料夾
c:\MyDir\MyFolder 檔案資料夾
/Mailbox Account/Inbox/'Re: Hello!' Outlook 電子郵件訊息

 

propertyDescription

searchInfo

labelInfo

typeInfo

displayInfo

stringFormat

booleanFormat

numberFormat

dateTimeFormat

enumeratedList

drawControl

editControl

filterControl

queryControl