Udostępnij za pośrednictwem


GnuTarEntry Konstruktory

Definicja

Przeciążenia

GnuTarEntry(TarEntry)

Inicjuje nowe GnuTarEntry wystąpienie, konwertując określony other wpis na format GNU.

GnuTarEntry(TarEntryType, String)

Inicjuje nowe GnuTarEntry wystąpienie o określonym typie wpisu i nazwie wpisu.

GnuTarEntry(TarEntry)

Źródło:
GnuTarEntry.cs
Źródło:
GnuTarEntry.cs
Źródło:
GnuTarEntry.cs

Inicjuje nowe GnuTarEntry wystąpienie, konwertując określony other wpis na format GNU.

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

Parametry

other
TarEntry

TarEntry Wystąpienie do konwersji na format GNU.

Wyjątki

other jest wystąpieniem PaxGlobalExtendedAttributesTarEntry .

-lub-

Typ other wpisu nie jest obsługiwany w formacie GNU.

Dotyczy

GnuTarEntry(TarEntryType, String)

Źródło:
GnuTarEntry.cs
Źródło:
GnuTarEntry.cs
Źródło:
GnuTarEntry.cs

Inicjuje nowe GnuTarEntry wystąpienie o określonym typie wpisu i nazwie wpisu.

public:
 GnuTarEntry(System::Formats::Tar::TarEntryType entryType, System::String ^ entryName);
public GnuTarEntry (System.Formats.Tar.TarEntryType entryType, string entryName);
new System.Formats.Tar.GnuTarEntry : System.Formats.Tar.TarEntryType * string -> System.Formats.Tar.GnuTarEntry
Public Sub New (entryType As TarEntryType, entryName As String)

Parametry

entryType
TarEntryType

Typ wpisu.

entryName
String

Ciąg ze ścieżką i nazwą pliku tego wpisu.

Wyjątki

entryName to null.

entryName jest pusty.

-lub-

Typ wpisu nie jest obsługiwany do tworzenia wpisu w formacie GNU.

Uwagi

Podczas tworzenia wystąpienia przy użyciu konstruktora GnuTarEntry(TarEntryType, String) obsługiwane są tylko następujące typy wpisów: Directory, HardLink, , SymbolicLinkRegularFile, BlockDevice, , CharacterDevicei Fifo.

Dotyczy