• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpSevenZip
      • ArchiveFileInfo
      • ArchiveProperty
      • CompressionLevel
      • CompressionMethod
      • CompressionMode
      • EventSynchronizationStrategy
      • ExtractFileCallback
      • ICancellable
      • InArchiveFormat
      • LibraryFeature
      • OperationResult
      • OutArchiveFormat
      • SfxModule
      • SharpSevenZipArchiveFormat
      • SharpSevenZipBase
      • SharpSevenZipCompressor
      • SharpSevenZipExtractor
      • SharpSevenZipSfx
      • StreamWithAttributes
      • ZipEncryptionMethod
    • SharpSevenZip.EventArguments
      • ExtractFileCallbackArgs
      • ExtractFileCallbackReason
      • FileInfoEventArgs
      • FileNameEventArgs
      • FileOverwriteEventArgs
      • IntEventArgs
      • OpenEventArgs
      • PercentDoneEventArgs
      • ProgressEventArgs
    • SharpSevenZip.Exceptions
      • CompressionFailedException
      • ExtractionFailedException
      • LzmaException
      • SharpSevenZipArchiveException
      • SharpSevenZipCompressionFailedException
      • SharpSevenZipException
      • SharpSevenZipExtractionFailedException
      • SharpSevenZipInvalidFileNamesException
      • SharpSevenZipLibraryException
      • SharpSevenZipSfxValidationException
    • SharpSevenZip.Lzma
      • LzmaDecodeStream
      • LzmaEncodeStream
    • SharpSevenZip.Sdk
      • CoderPropId
      • ICodeProgress
      • ICoder
    • SharpSevenZip.Sdk.Compression.Lzma
      • Decoder
      • Encoder

    Class FileOverwriteEventArgs

    EventArgs for FileExists event, stores the file name and asks whether to overwrite it in case it already exists.

    Inheritance
    object
    EventArgs
    FileOverwriteEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SharpSevenZip.EventArguments
    Assembly: SharpSevenZip.dll
    Syntax
    public sealed class FileOverwriteEventArgs : EventArgs

    Constructors

    | Edit this page View Source

    FileOverwriteEventArgs(string)

    Initializes a new instance of the FileOverwriteEventArgs class

    Declaration
    public FileOverwriteEventArgs(string fileName)
    Parameters
    Type Name Description
    string fileName

    The file name.

    Properties

    | Edit this page View Source

    Cancel

    Gets or sets the value indicating whether to cancel the extraction.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    FileName

    Gets or sets the file name to extract to. Null means skip.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (C) Markovtsev Vadim 2009, 2010, Jérémy Ansel 2024