PowerTCP Zip Compression for .NET
IgnoreLabel Property




Gets or sets whether to ignore volume label information when using removable media.
Syntax
Public Property IgnoreLabel As Boolean
Dim instance As DiskEventArgs
Dim value As Boolean
 
instance.IgnoreLabel = value
 
value = instance.IgnoreLabel
public bool IgnoreLabel {get; set;}
public: __property bool get_IgnoreLabel();
public: __property void set_IgnoreLabel( 
   bool value
);
public:
property bool IgnoreLabel {
   bool get();
   void set (    bool value);
}

Property Value

A ZipException representing the spanning exception.
Remarks

Checking the value of DiskEventArgs.Exception is recommended for all spanning operations. If DiskEventArgs.IgnoreLabel is used, the Exception property will contain a ZipException with an error code of ErrorCode.RemovableMediaHasIncorrectLabel.

Not all zip compression products use volume labels when creating spanned archives. This property should be used when attempting to read such an archive. Please note that if IgnoreLabel is true, the Archive component will attempt to read the disk even if the data is not valid. Once encountering invalid data, the remainder of the disk will be skipped and you will be prompted for the next disk.

See Also

Reference

DiskEventArgs Class
DiskEventArgs Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic