OpenShare Enumeration

 <  Day Day Up  >  

The OpenShare enumeration is used by the FileOpen method in the FileSystem module to indicate the permitted sharing for the file. The OpenShare enumeration values have no constant equivalents.

 Default = -1 

The file is shared for reading and writing.

 Shared = 3 

The file is shared for reading and writing.

 LockRead = 2 

The file is locked for reading. Other processes cannot read from the file.

 LockReadWrite = 0 

The file is locked for reading and writing. Other processes cannot read from or write to the file.

 LockWrite = 1 

The file is locked for writing. Other processes cannot write to the file.

 <  Day Day Up  >  


The Visual Basic .NET Programming Language
The Visual Basic .NET Programming Language
ISBN: 0321169514
EAN: 2147483647
Year: 2004
Pages: 173
Authors: Paul Vick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net