ZipArchive.CreateEntryFromFile Method (String, String)
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function CreateEntryFromFile ( _
sourceFileName As String, _
entryName As String _
) As ZipArchiveEntry
public ZipArchiveEntry CreateEntryFromFile(
string sourceFileName,
string entryName
)
public:
ZipArchiveEntry^ CreateEntryFromFile(
String^ sourceFileName,
String^ entryName
)
member CreateEntryFromFile :
sourceFileName:string *
entryName:string -> ZipArchiveEntry
public function CreateEntryFromFile(
sourceFileName : String,
entryName : String
) : ZipArchiveEntry
Parameters
- sourceFileName
Type: System.String
- entryName
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.Alm.ZipArchiveEntry
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.