Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / DiskFile Class / DefaultAutomaticReadDiskFileShare Property


In This Topic
    DefaultAutomaticReadDiskFileShare Property
    In This Topic
    Gets or sets a value indicating the default FileShare value to be used when opening read streams for copy/move operations.
    Syntax
    'Declaration
     
    Public Shared Property DefaultAutomaticReadDiskFileShare As FileShare
    'Usage
     
    Dim value As FileShare
     
    DiskFile.DefaultAutomaticReadDiskFileShare = value
     
    value = DiskFile.DefaultAutomaticReadDiskFileShare
    public static FileShare DefaultAutomaticReadDiskFileShare {get; set;}

    Property Value

    A FileShare value representing the default value to be used when opening read streams for copy/move operations. By default, FileShare.Read.
    Remarks

    Changing this value has the potential to affect every class that derives from DiskFile. 

    In most cases, it is not necessary to modify the default value of this property.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also