共用方式為


System.ItemPathDisplayNarrow

項目的使用者易記顯示路徑。

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

propertyDescription
   name = System.ItemPathDisplayNarrow
   shellPKey = PKEY_ItemPathDisplayNarrow
   formatID = 28636AA6-953D-11D2-B5D6-00C04FD918D0
   propID = 8
   SearchInfo
      InInvertedIndex = false
      IsColumn = true
   typeInfo
      type = String
      IsInnate = true

言論

PKEY 值定義於 Propkey.h 中。

若要針對窄檢視數據行進行優化,應量身打造字串的格式,讓名稱優先出現。

如果專案是檔案,屬性值會排除擴展名,但如果有本地化的名稱,則會包含本地化的名稱。 如果項目是訊息,則值會包含 System.ItemNamePrefix。 若要剖析項目路徑,請使用 System.ItemUrlSystem.ParsingPath

範例值:

路徑 ItemPathDisplayName
c:\mydir\bar\hello.txt hello (c:\mydir\bar)
\\server\share\mydir\goodnews.doc goodnews (\\server\share\mydir)
\\server\share\folder 資料夾 (\\server\share)
c:\MyDir\MyFolder MyFolder (c:\mydir)
/Mailbox Account/Inbox/'re: Hello!' Re: Hello! (/信箱帳戶/收件匣)

 

propertyDescription

searchInfo

labelInfo

typeInfo

displayInfo

stringFormat

布爾值Format

numberFormat

dateTimeFormat

enumeratedList

drawControl

editControl

filterControl

queryControl