Xceed .NET Libraries Documentation
DefaultAutomaticWriteDiskFileShare Property


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > DiskFile Class : DefaultAutomaticWriteDiskFileShare Property
Gets or sets a value indicating the default FileShare value to be used when opening write streams for copy/move operations.
Syntax
'Declaration
 
Public Shared Property DefaultAutomaticWriteDiskFileShare As FileShare
'Usage
 
Dim value As FileShare

 

DiskFile.DefaultAutomaticWriteDiskFileShare = value

 

value = DiskFile.DefaultAutomaticWriteDiskFileShare
public static FileShare DefaultAutomaticWriteDiskFileShare {get; set;}

Property Value

A FileShare value indicating the defaulf value to be used when opening write streams for copy/move operations. By default, FileShare.None.
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

Reference

DiskFile Class
DiskFile Members