V7TarEntry Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| V7TarEntry(TarEntry) |
Initializes a new V7TarEntry instance by converting the specified |
| V7TarEntry(TarEntryType, String) |
Initializes a new V7TarEntry instance with the specified entry type and entry name. |
V7TarEntry(TarEntry)
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
Initializes a new V7TarEntry instance by converting the specified other entry into the V7 format.
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)
Parameters
Exceptions
other is a PaxGlobalExtendedAttributesTarEntry and cannot be converted.
-or-
The entry type of other is not supported in the V7 format.
Applies to
V7TarEntry(TarEntryType, String)
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
- Source:
- V7TarEntry.cs
Initializes a new V7TarEntry instance with the specified entry type and entry name.
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)
Parameters
- entryType
- TarEntryType
The type of the entry.
- entryName
- String
A string with the path and file name of this entry.
Exceptions
entryName is null.
entryName is empty.
-or-
The entry type is not supported for creating an entry in the V7 format.
Remarks
When creating an instance using the V7TarEntry(TarEntryType, String) constructor, only the following entry types are supported: Directory, HardLink, SymbolicLink, and V7RegularFile.