Sdílet prostřednictvím


V7TarEntry Konstruktory

Definice

Přetížení

V7TarEntry(TarEntry)

Inicializuje novou V7TarEntry instanci převedením zadané other položky do formátu V7.

V7TarEntry(TarEntryType, String)

Inicializuje novou V7TarEntry instanci se zadaným typem položky a názvem položky.

V7TarEntry(TarEntry)

Zdroj:
V7TarEntry.cs
Zdroj:
V7TarEntry.cs
Zdroj:
V7TarEntry.cs

Inicializuje novou V7TarEntry instanci převedením zadané other položky do formátu V7.

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)

Parametry

other
TarEntry

Instance TarEntry , která se má převést do formátu V7.

Výjimky

otherPaxGlobalExtendedAttributesTarEntry je a nelze jej převést.

-nebo-

Typ položky není other ve formátu V7 podporován.

Platí pro

V7TarEntry(TarEntryType, String)

Zdroj:
V7TarEntry.cs
Zdroj:
V7TarEntry.cs
Zdroj:
V7TarEntry.cs

Inicializuje novou V7TarEntry instanci se zadaným typem položky a názvem položky.

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)

Parametry

entryType
TarEntryType

Typ položky.

entryName
String

Řetězec s cestou a názvem souboru této položky.

Výjimky

entryName je null.

entryName je prázdné.

-nebo-

Typ položky není podporován pro vytvoření položky ve formátu V7.

Poznámky

Při vytváření instance pomocí konstruktoru V7TarEntry(TarEntryType, String) jsou podporovány pouze následující typy položek: Directory, HardLink, SymbolicLinka V7RegularFile.

Platí pro