'Declaration
Function OpenFile( _
ByVal As String, _
ByVal As LeadStreamMode, _
ByVal As LeadStreamAccess, _
ByVal As LeadStreamShare _
) As Boolean
'Usage
Dim instance As ILeadStream
Dim fileName As String
Dim mode As LeadStreamMode
Dim access As LeadStreamAccess
Dim share As LeadStreamShare
Dim value As Boolean
value = instance.OpenFile(fileName, mode, access, share)
-(BOOL)openFile:(NSString*)fileName mode:(LTLeadStreamMode)mode access:(LTLeadStreamAccess)access share:(LTLeadStreamShare)share;
boolean openFile(String fileName, LeadStreamMode mode, LeadStreamAccess access, LeadStreamShare share);
function Leadtools.ILeadStream.OpenFile(
fileName ,
mode ,
access ,
share
)
Parameters
- fileName
- The relative or absolute path for the file that this ILeadStream object will be associated with.
- mode
- A constant that determines how to open or create the file.
- access
- A constant that determines how the file can be accessed by this ILeadStream object.
- share
- A constant that determines how the file will be shared by processes.
Return Value
true if the file is opened; otherwise