UstarTarEntry Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
UstarTarEntry(TarEntry) |
Inizializza una nuova UstarTarEntry istanza convertendo la voce specificata |
UstarTarEntry(TarEntryType, String) |
Inizializza una nuova UstarTarEntry istanza con il tipo di voce e il nome di voce specificati. |
UstarTarEntry(TarEntry)
- Origine:
- UstarTarEntry.cs
- Origine:
- UstarTarEntry.cs
- Origine:
- UstarTarEntry.cs
Inizializza una nuova UstarTarEntry istanza convertendo la voce specificata other
nel formato 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)
Parametri
Eccezioni
other
è un'istanza PaxGlobalExtendedAttributesTarEntry di .
-oppure-
Il tipo di voce di other
non è supportato nel formato Ustar.
Si applica a
UstarTarEntry(TarEntryType, String)
- Origine:
- UstarTarEntry.cs
- Origine:
- UstarTarEntry.cs
- Origine:
- UstarTarEntry.cs
Inizializza una nuova UstarTarEntry istanza con il tipo di voce e il nome di voce specificati.
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)
Parametri
- entryType
- TarEntryType
Tipo della voce.
- entryName
- String
Stringa con il percorso e il nome file di questa voce.
Eccezioni
entryName
è null
.
entryName
è vuoto.
-oppure-
Il tipo di voce non è supportato per la creazione di una voce nel formato Ustar.
Commenti
Quando si crea un'istanza usando il UstarTarEntry(TarEntryType, String) costruttore, sono supportati solo i tipi di voce seguenti: Directory, HardLink, SymbolicLinkRegularFile, BlockDevice, CharacterDevice, e Fifo.