ZipArchive.CreateEntryFromFile 方法 (String, String, CompressionLevel)

命名空间:  Microsoft.TeamFoundation.Framework.Server.Alm
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Public Function CreateEntryFromFile ( _
    sourceFileName As String, _
    entryName As String, _
    compressionLevel As CompressionLevel _
) As ZipArchiveEntry
public ZipArchiveEntry CreateEntryFromFile(
    string sourceFileName,
    string entryName,
    CompressionLevel compressionLevel
)

参数

返回值

类型:Microsoft.TeamFoundation.Framework.Server.Alm.ZipArchiveEntry

.NET Framework 安全性

请参见

参考

ZipArchive 类

CreateEntryFromFile 重载

Microsoft.TeamFoundation.Framework.Server.Alm 命名空间