menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ZipArchiveItem - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ZipArchiveItem

    Inheritance
    System.Object
    ZipArchiveItem
    Namespace: Syncfusion.Compression.Zip
    Assembly: Syncfusion.DocIO.UWP.dll
    Syntax
    public class ZipArchiveItem : Object

    Constructors

    ZipArchiveItem(ZipArchive, String, Stream)

    Creates new instance of the zip item.

    Declaration
    public ZipArchiveItem(ZipArchive archive, string itemName, Stream streamData)
    Parameters
    Type Name Description
    ZipArchive archive
    System.String itemName

    Name of the item (can be relative or absolute path).

    System.IO.Stream streamData

    Stream data.

    ZipArchiveItem(ZipArchive, String, Stream, Boolean, FileAttributes)

    Declaration
    public ZipArchiveItem(ZipArchive zipArchive, string itemName, Stream data, bool bControlStream, FileAttributes attributes)
    Parameters
    Type Name Description
    ZipArchive zipArchive
    System.String itemName
    System.IO.Stream data
    System.Boolean bControlStream
    Windows.Storage.FileAttributes attributes

    Properties

    DataStream

    Declaration
    public Stream DataStream { get; }
    Property Value
    Type
    System.IO.Stream

    ExternalAttributes

    Gets / sets item's external attributes.

    Declaration
    public FileAttributes ExternalAttributes { get; set; }
    Property Value
    Type
    Windows.Storage.FileAttributes

    ItemName

    Declaration
    public string ItemName { get; }
    Property Value
    Type
    System.String

    Methods

    CloneStream(Stream)

    Creates copy of the stream.

    Declaration
    public static Stream CloneStream(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    Stream to copy.

    Returns
    Type Description
    System.IO.Stream

    Created stream.

    Update(Stream, Boolean)

    Updates internal data stream.

    Declaration
    public void Update(Stream newDataStream, bool controlStream)
    Parameters
    Type Name Description
    System.IO.Stream newDataStream

    New stream to set.

    System.Boolean controlStream

    Indicates whether item should conrol new stream.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved