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




A zero-based index at which a Stream will be inserted.
A Stream that is to be added to the Archive.
Inserts one or more items into the collection starting from the specified index.
Syntax
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal source As Stream _
) 
Dim instance As Archive
Dim index As Integer
Dim source As Stream
 
instance.Insert(index, source)
public void Insert( 
   int index,
   Stream source
)
public: void Insert( 
   int index,
   Stream* source
) 
public:
void Insert( 
   int index,
   Stream^ source
) 

Parameters

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

This overload is intended for inserting streams 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