Dart.PowerTCP.Zip Namespace > SpanConfiguration Class : FirstPartSize Property |
<DescriptionAttribute("The size(in kilobytes) of the first part of a multi-part zip archive. This property is only valid when the IsRemovableMedia property has a value of True. This property is used when there is a need to make the first removable media with a different size from the others. If its value is greater than the available space of the removable media, an exception will be thrown at run-time. ")> <DefaultValueAttribute()> <CategoryAttribute("SpanConfiguration")> Public Property FirstPartSize As Long
Dim instance As SpanConfiguration Dim value As Long instance.FirstPartSize = value value = instance.FirstPartSize
[Description("The size(in kilobytes) of the first part of a multi-part zip archive. This property is only valid when the IsRemovableMedia property has a value of True. This property is used when there is a need to make the first removable media with a different size from the others. If its value is greater than the available space of the removable media, an exception will be thrown at run-time. ")] [DefaultValue()] [Category("SpanConfiguration")] public long FirstPartSize {get; set;}
[Description("The size(in kilobytes) of the first part of a multi-part zip archive. This property is only valid when the IsRemovableMedia property has a value of True. This property is used when there is a need to make the first removable media with a different size from the others. If its value is greater than the available space of the removable media, an exception will be thrown at run-time. ")] [DefaultValue()] [Category("SpanConfiguration")] public: __property long get_FirstPartSize(); public: __property void set_FirstPartSize( long value );
[Description("The size(in kilobytes) of the first part of a multi-part zip archive. This property is only valid when the IsRemovableMedia property has a value of True. This property is used when there is a need to make the first removable media with a different size from the others. If its value is greater than the available space of the removable media, an exception will be thrown at run-time. ")] [DefaultValue()] [Category("SpanConfiguration")] public: property int64 FirstPartSize { int64 get(); void set ( int64 value); }
This property is only valid when using removable media (the IsRemovableMedia property is true). This property is used when the first removable disk has a size requirement that is different from the others
If this value is greater than the available capacity of the removable media, DiskEventArgs.Exception will be set to a ZipException with the error code of ErrorCode.NotEnoughSpaceForSpan and the Disk event will be raised requesting the same disk.