create_file_stream_wrapper method

create_file_stream_wrapper

Creates FileStream with the specified path and creation mode.

Returns

Stream wrapper for COM interface IStreamWrapper

def create_file_stream_wrapper(self, file_name, file_mode):
    ...
ParameterTypeDescription
file_namestrFile name str
file_modeSystem.IO.FileModeFile mode System.IO.FileMode

create_file_stream_wrapper

Creates FileStream with the specified path, creation mode, and read/write permission.

Returns

Stream wrapper for COM interface IStreamWrapper

def create_file_stream_wrapper(self, file_name, file_mode, file_access):
    ...
ParameterTypeDescription
file_namestrFile name str
file_modeSystem.IO.FileModeFile mode System.IO.FileMode
file_accessSystem.IO.FileAccessFile access System.IO.FileAccess

See Also