共用方式為


PaxTarEntry.ExtendedAttributes 屬性

定義

傳回這個項目的擴充屬性。

public:
 property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ ExtendedAttributes { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.IReadOnlyDictionary<string,string> ExtendedAttributes { get; }
member this.ExtendedAttributes : System.Collections.Generic.IReadOnlyDictionary<string, string>
Public ReadOnly Property ExtendedAttributes As IReadOnlyDictionary(Of String, String)

屬性值

備註

建構專案時,會指定擴充屬性。 使用 PaxTarEntry(TarEntryType, String, IEnumerable<KeyValuePair<String,String>>) 將擴充屬性的您自己的列舉附加至預設專案上方的目前專案。 使用 PaxTarEntry(TarEntryType, String) 僅使用預設的擴充屬性。

下列專案一律可在任何 PAX 專案的擴充屬性字典中找到:

  • 修改時間,在名稱 mtime下,以數位表示 Double
  • 存取時間,在名稱 atime下,以數位表示 Double
  • 將名稱底下的 ctime[時間] 變更為 Double 數位。
  • 名稱底下的路徑 path,以字串表示。

只有在符合特定條件時,才會在PAX專案的擴充屬性字典中找到下列專案:

  • 如果名稱大於32個字節,則為字串名稱下的組名 gname
  • 如果名稱大於32個字節,則用戶名稱下的名稱 uname為字串。
  • 如果數位的字串表示大於12個字節,則為名稱sizeInt32底下的檔案長度。

適用於