GnuTarEntry 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GnuTarEntry(TarEntry) |
通过将指定的 |
GnuTarEntry(TarEntryType, String) |
使用指定的条目类型和条目名称初始化新 GnuTarEntry 实例。 |
GnuTarEntry(TarEntry)
- Source:
- GnuTarEntry.cs
- Source:
- GnuTarEntry.cs
- Source:
- GnuTarEntry.cs
通过将指定的other
条目转换为 GNU 格式来初始化新GnuTarEntry实例。
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)
参数
例外
适用于
GnuTarEntry(TarEntryType, String)
- Source:
- GnuTarEntry.cs
- Source:
- GnuTarEntry.cs
- Source:
- GnuTarEntry.cs
使用指定的条目类型和条目名称初始化新 GnuTarEntry 实例。
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)
参数
- entryType
- TarEntryType
条目的类型。
- entryName
- String
包含此条目的路径和文件名的字符串。
例外
entryName
为 null
。
注解
使用 GnuTarEntry(TarEntryType, String) 构造函数创建实例时,仅支持以下条目类型:Directory、、HardLink、SymbolicLink、RegularFileBlockDevice、 CharacterDevice和 Fifo。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈