FileCompress Method (String, PathFormat) |
[AlphaFS] Compresses a file using NTFS compression.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Compress(
string path,
PathFormat pathFormat
)
Public Shared Sub Compress (
path As String,
pathFormat As PathFormat
)
public:
static void Compress(
String^ path,
PathFormat pathFormat
)
static member Compress :
path : string *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
A path that describes a file to compress. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
See Also