V7TarEntry Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| V7TarEntry(TarEntry) |
Initialisiert eine neue V7TarEntry instance, indem der angegebene |
| V7TarEntry(TarEntryType, String) |
Initialisiert eine neue V7TarEntry instance mit dem angegebenen Eintragstyp und Eintragsnamen. |
V7TarEntry(TarEntry)
- Quelle:
- V7TarEntry.cs
- Quelle:
- V7TarEntry.cs
- Quelle:
- V7TarEntry.cs
Initialisiert eine neue V7TarEntry instance, indem der angegebene other Eintrag in das V7-Format konvertiert wird.
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)
Parameter
Ausnahmen
other ist ein PaxGlobalExtendedAttributesTarEntry und kann nicht konvertiert werden.
Oder
Der Eintragstyp von other wird im V7-Format nicht unterstützt.
Gilt für:
V7TarEntry(TarEntryType, String)
- Quelle:
- V7TarEntry.cs
- Quelle:
- V7TarEntry.cs
- Quelle:
- V7TarEntry.cs
Initialisiert eine neue V7TarEntry instance mit dem angegebenen Eintragstyp und Eintragsnamen.
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)
Parameter
- entryType
- TarEntryType
Der Typ des Eintrags.
- entryName
- String
Eine Zeichenfolge mit dem Pfad und dateinamen dieses Eintrags.
Ausnahmen
entryName ist null.
entryName ist leer.
- oder -
Der Eintragstyp wird zum Erstellen eines Eintrags im V7-Format nicht unterstützt.
Hinweise
Beim Erstellen eines instance mithilfe des V7TarEntry(TarEntryType, String) Konstruktors werden nur die folgenden Eintragstypen unterstützt: Directory, HardLink, SymbolicLinkund V7RegularFile.