Sdílet prostřednictvím


UstarTarEntry Konstruktory

Definice

Přetížení

UstarTarEntry(TarEntry)

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

UstarTarEntry(TarEntryType, String)

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

UstarTarEntry(TarEntry)

Zdroj:
UstarTarEntry.cs
Zdroj:
UstarTarEntry.cs
Zdroj:
UstarTarEntry.cs

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

public:
 UstarTarEntry(System::Formats::Tar::TarEntry ^ other);
public UstarTarEntry (System.Formats.Tar.TarEntry other);
new System.Formats.Tar.UstarTarEntry : System.Formats.Tar.TarEntry -> System.Formats.Tar.UstarTarEntry
Public Sub New (other As TarEntry)

Parametry

other
TarEntry

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

Výjimky

otherPaxGlobalExtendedAttributesTarEntry je instance.

-nebo-

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

Platí pro

UstarTarEntry(TarEntryType, String)

Zdroj:
UstarTarEntry.cs
Zdroj:
UstarTarEntry.cs
Zdroj:
UstarTarEntry.cs

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

public:
 UstarTarEntry(System::Formats::Tar::TarEntryType entryType, System::String ^ entryName);
public UstarTarEntry (System.Formats.Tar.TarEntryType entryType, string entryName);
new System.Formats.Tar.UstarTarEntry : System.Formats.Tar.TarEntryType * string -> System.Formats.Tar.UstarTarEntry
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 Ustar.

Poznámky

Při vytváření instance pomocí konstruktoru UstarTarEntry(TarEntryType, String) jsou podporovány pouze následující typy položek: Directory, HardLink, , SymbolicLink, RegularFileBlockDevice, CharacterDevicea Fifo.

Platí pro