FileStreamBuf(String, Boolean,
FileShareMode) Constructor
|
Creates a file stream buffer.
Namespace: Teigha.Runtime
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
27.3.0.0
Syntax
public FileStreamBuf(
string pcFilename,
bool openForRead,
FileShareMode nShareMode
)
Public Sub New (
pcFilename As String,
openForRead As Boolean,
nShareMode As FileShareMode
)
public:
FileStreamBuf(
String^ pcFilename,
bool openForRead,
FileShareMode nShareMode
)
new :
pcFilename : string *
openForRead : bool *
nShareMode : FileShareMode -> FileStreamBuf
Parameters
- pcFilename String
- [in] File name.
- openForRead Boolean
- [in] Flag that indicates whether to create buffer for read
operations. If false, buffer is created for write operations.
- nShareMode FileShareMode
- [in] File share mode.
Remarks
nShareMode
parameter can be one of the following: ValueDescription0x10 deny
read/write mode 0x20 deny write mode 0x30 deny read mode 0x40 deny
none mode
See Also