V7TarEntry 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
V7TarEntry(TarEntry) |
將指定的 |
V7TarEntry(TarEntryType, String) |
使用指定的專案類型和專案名稱,初始化新的 V7TarEntry 實例。 |
V7TarEntry(TarEntry)
將指定的other
項目轉換成 V7 格式,以初始化新的V7TarEntry實例。
public:
V7TarEntry(System::Formats::Tar::TarEntry ^ other);
public V7TarEntry (System.Formats.Tar.TarEntry other);
new System.Formats.Tar.V7TarEntry : System.Formats.Tar.TarEntry -> System.Formats.Tar.V7TarEntry
Public Sub New (other As TarEntry)
參數
例外狀況
適用於
V7TarEntry(TarEntryType, String)
使用指定的專案類型和專案名稱,初始化新的 V7TarEntry 實例。
public:
V7TarEntry(System::Formats::Tar::TarEntryType entryType, System::String ^ entryName);
public V7TarEntry (System.Formats.Tar.TarEntryType entryType, string entryName);
new System.Formats.Tar.V7TarEntry : System.Formats.Tar.TarEntryType * string -> System.Formats.Tar.V7TarEntry
Public Sub New (entryType As TarEntryType, entryName As String)
參數
- entryType
- TarEntryType
專案的型別。
- entryName
- String
具有這個項目路徑和檔名的字串。
例外狀況
entryName
為 null
。
備註
使用 V7TarEntry(TarEntryType, String) 建構函式建立實體時,僅支援下列項目類型: Directory、 HardLink、 SymbolicLink和 V7RegularFile。