PowerTCP Zip Compression for .NET
Insert(Int32,ArchiveItem) Method




A zero-based index at which an ArchiveItem will be inserted.
An ArchiveItem that is to be added to the Archive.
Inserts one or more items into the collection starting from the specified index.
Syntax
<DescriptionAttribute("To insert an item to the collection")>
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal value As ArchiveItem _
) 
Dim instance As Archive
Dim index As Integer
Dim value As ArchiveItem
 
instance.Insert(index, value)
[Description("To insert an item to the collection")]
public void Insert( 
   int index,
   ArchiveItem value
)
[Description("To insert an item to the collection")]
public: void Insert( 
   int index,
   ArchiveItem* value
) 
[Description("To insert an item to the collection")]
public:
void Insert( 
   int index,
   ArchiveItem^ value
) 

Parameters

index
A zero-based index at which an ArchiveItem will be inserted.
value
An ArchiveItem that is to be added to the Archive.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is not a valid index.
Remarks

This overload is intended to insert an ArchiveItem object into the collection.

Please note that a spanned archive is not allowed to add or delete any items.

See Also

Reference

Archive Class
Archive Members
Overload List


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