PowerTCP Zip Compression for .NET
PartSize Property




Gets or sets the size (in kilobytes) of the target volume that holds one part of a multi-part zip archive.
Syntax
<DefaultValueAttribute()>
<CategoryAttribute("SpanConfiguration")>
<DescriptionAttribute("the size(in kilobytes) for each spanned part, except the first part if FirstPartSize is not 0. When IsRemovableMedia is True, a zero value of this property implies that the spanning operation will use the capacity of the type of removable media used. When IsRemovableMedia is false, 0 value of this property is not allowed, in which case, a run-time exception will be thrown. When the available space	of a removable media is smaller than PartSize, an exception will be throw at run-time.  ")>
Public Property PartSize As Long
Dim instance As SpanConfiguration
Dim value As Long
 
instance.PartSize = value
 
value = instance.PartSize
[DefaultValue()]
[Category("SpanConfiguration")]
[Description("the size(in kilobytes) for each spanned part, except the first part if FirstPartSize is not 0. When IsRemovableMedia is True, a zero value of this property implies that the spanning operation will use the capacity of the type of removable media used. When IsRemovableMedia is false, 0 value of this property is not allowed, in which case, a run-time exception will be thrown. When the available space	of a removable media is smaller than PartSize, an exception will be throw at run-time.  ")]
public long PartSize {get; set;}
[DefaultValue()]
[Category("SpanConfiguration")]
[Description("the size(in kilobytes) for each spanned part, except the first part if FirstPartSize is not 0. When IsRemovableMedia is True, a zero value of this property implies that the spanning operation will use the capacity of the type of removable media used. When IsRemovableMedia is false, 0 value of this property is not allowed, in which case, a run-time exception will be thrown. When the available space	of a removable media is smaller than PartSize, an exception will be throw at run-time.  ")]
public: __property long get_PartSize();
public: __property void set_PartSize( 
   long value
);
[DefaultValue()]
[Category("SpanConfiguration")]
[Description("the size(in kilobytes) for each spanned part, except the first part if FirstPartSize is not 0. When IsRemovableMedia is True, a zero value of this property implies that the spanning operation will use the capacity of the type of removable media used. When IsRemovableMedia is false, 0 value of this property is not allowed, in which case, a run-time exception will be thrown. When the available space	of a removable media is smaller than PartSize, an exception will be throw at run-time.  ")]
public:
property int64 PartSize {
   int64 get();
   void set (    int64 value);
}

Property Value

A long specifying the size of a part in a spanned archive.
Remarks

When IsRemovableMedia is true, a zero value of this property implies that the spanning operation will use all of the available capacity of the removable media used. If IsRemovableMedia is false and the PartSize is 0 an exception will be thrown. When the available capacity of a removable media is smaller than PartSize, an exception will be thrown. PartSize should not exceed the available size of the removable media.

If PartSize is 0 and a removable disk is inserted with other data already present, all available space will be used and any pre-existing files will not be altered

See Also

Reference

SpanConfiguration Class
SpanConfiguration Members


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